In my third party folder I included a bunch of python files which will be called during runtime. However they seem to be ignored when I package the game and thus cause crushing later.
The use of web browser also causes error with
Failed to get CEF3 DLL handle: The specified module could not be found. (126) error after packaging.
I had to manually move the CEF3 module to the packaged version as well. Is it possible to change the setting somewhere so I don’t have to do them each manually?
I was also looking to exporting my game into Andriod but I think if the same thing happens the program will definitely crush in Android as well.
Thanks in advance
Project Settings → Packaging → (Advanced Section) → Additional Non-Asset Directories to Copy.
I’m guessing they should be copied as loose files, in which case “Additional Non-Asset Directories to Copy” is the correct setting. If they do need to go into the package, use “Additional Non-Asset Directories to Package” instead.
Thank you for answering, but is there a similar way to deal with Android packaging as well? The non-asset directories to copy seems to be not working
I checked with someone from the Platform team, and they say that it does work, but they’re packaged into the OBB. If you need them loose for fopen/etc, you’ll need to use the UE filesystem and write them to GExternalFilePath (the app private sandbox file directory).
“you’ll need to use the UE filesystem
and write them to GExternalFilePath
(the app private sandbox file
can u plz explain what u mean by write?
any example form engine source code?