x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

4.18 Enable apex destruction plugin failed to package

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.

Product Version: UE 4.18
Tags:
more ▼

asked Nov 17 '17 at 07:06 AM in Packaging & Deployment

avatar image

HolyBob
8 1 3 6

avatar image joelgerlach Dec 08 '17 at 06:30 AM

Getting this same issue in 4.18!

avatar image CDSAMA Dec 08 '17 at 10:36 AM

Got similiar crash log and same linux signal in 4.18, remove the apex destruction plugin reference works for me. ps: every commandlet will crash when it's finished.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi,

This issue should be fixed in 4.19 and is due to symbol collisions from a statically linked apex library. If you need to fix it in 4.18 you can cherry-pick this commit:

https://github.com/EpicGames/UnrealEngine/commit/ae79adca425d648714a36a26120b22b7e66b63f5

more ▼

answered Feb 02 '18 at 11:29 PM

avatar image

0x414e54 STAFF
66 2 4 5

avatar image HolyBob Mar 29 '18 at 11:10 PM

Confirm it's fixed in 4.19. Thanks for taking look into this!

avatar image BrozGamers Apr 19 '18 at 06:44 PM

Hey i realy neeed it fixed for 4.18 but the link you posted is unvailid. so how do i fix this?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question