Closed nistic closed 10 years ago
Because files from stuff folder are not imported as "ue4 content", you should put this folder into packaged build manually. It's not a bug at all, because library works outside the UE4 and should have direct access to files.
I'll make make tests tomorrow, but I think that right place will be packaged YourProject root folder.
Somewhy in packaged game FPaths::GameDir(); returns relative path instead of absolute. I'll take a look how to fix it.
You're the man!
Changing that line to:
FString GameDir = FPaths::ConvertRelativePathToFull(FPaths::GameDir());
Fixed it for me on a 4.2 packaged project with the "Shipping" configuration (non-pak) and it works in the editor. I'll test some other configurations and get back to you.
Works on a 4.2 packaged project with the "Development" configuration (pak version) too, looks like that worked :)
Thanks @nistic , I've commited the fix into develop branch :)
Loading local paths using "vaquole://stuff/example.html" works in the editor but does not work in packaged builds (pak or non-pak versions)