My project can be packaged successfully in 4.17 & 4.16. However, after enabling apex destruction plugin in 4.18.1, it has packaging issues. It runs totally fine in Editor, both new window and standalone. I’m building from source on Linux Ubuntu 16.04 using release branch of 4.18.1. Since my project requires destructible to be used, naturally I would turn on apex destruction plugin. Two critical issues came up (even with newly created empty c++ project):
(1) When packaging, it always shows failed to package due to “Unknown Cook Failure” no matter what packing configuration was set.
LogInit: Display:
1101LogInit: Display: Success - 0 error(s), 4 warning(s)
LogInit: Display:
Execution of commandlet took: 19.19 seconds
Signal 11 caught.
Took 33.547256s to run UE4Editor, ExitCode=139
Cook failed. Deleting cooked data.
ERROR: Cook failed.
(see /home/it/Library/Logs/Unreal Engine/LocalBuildLogs/UAT_Log.txt for full exception trace)
AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
[2017.11.17-07.04.59:279][ 61]UATHelper: Packaging (Linux): RunUAT ERROR: AutomationTool was unable to run successfully.
[2017.11.17-07.04.59:279][ 61]PackagingResults: Error: Unknown Cook Failure
(2) When normally exiting editor, 100% crash with the following backtrace stack
[2017.11.17-06.39.51:744][394]LogInit: Tearing down SDL.
*** Error in `/home/it/UnrealEngine/Engine/Binaries/Linux/UE4Editor': double free or corruption (!prev): 0x0000000003c5f4b0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ff7923de7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7ff7923e737a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ff7923eb53c]
/lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a)[0x7ff7923a136a]
/home/it/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Engine.so(+0x17b8023)[0x7ff799b9a023]
Disabling the plugin avoids these two issues, but the destructible feature was totally gone. Any help would be appreciated.