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"

Blueprint nativization produces a crashing build when adding child actor components with a class already set.

If you have your project set for inclusive blueprint nativization and are using the "Add Child Actor Component" blueprint node AND that node has a child actor class set, you will be able to package a project successfully but the resulting project will hard crash on launch with an error. Kind of like this one:

 [2017.06.13-21.33.46:135][  0]LogWindows:Error: Fatal error: [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 2781] 
 [2017.06.13-21.33.46:135][  0]LogWindows:Error: Missing import of (/Game/NewMap): NODE_AddChildActorComponent-0_ChildActorClass_C_CAT in Package /Game/ActorClass was not found, but the package exists.

Adding a child actor component with no class set and then setting the class after with the "Set Child Actor Class" node does work. This makes me think that the issue may be related to the project not understanding that the class is in use and skipping adding it to the project. I would be happy to send someone my test project if it would help.

Product Version: UE 4.16
Tags:
more ▼

asked Jun 13 '17 at 09:43 PM in Bug Reports

avatar image

blobdole
31 3 11

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

2 answers: sort voted first

This issue has been fixed for the next release, thanks for the report!

As a workaround until then, you will need to move the ChildActorComponent into the Components tree in the Blueprint editor (i.e. instead of using an AddChildActorComponent node), and that should allow the packaged build to launch.

Hope this helps! -phil.

more ▼

answered Jun 20 '17 at 08:26 PM

avatar image

sks-xovangam
141 1 3 3

avatar image blobdole Jun 21 '17 at 02:37 AM

Awesome, thanks!

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

Hello blobdole,

Thank you for reporting this issue. I've entered a bug report for it which you can find here: UE-46054. You can use that link to track the issue's progress and any updates it may receive.

Have a nice day!

more ▼

answered Jun 14 '17 at 04:46 PM

(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