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"

ChildActor components crash in Streaming levels

When running Standalone or Packaged builds, the game will crash on load if a streaming level contains an actor with a ChildActor component.

Repro steps:

  1. Create a new project

  2. Add a new streaming level in the Levels panel

  3. Set the streaming level to "Initially Loaded" in the Level Details panel

  4. Create a "Parent" blueprint and a "Child" blueprint

  5. Add a ChildActor component to "Parent" that instantiates a "Child"

  6. Add a "Parent" actor to the streaming level

  7. Run in PIE, note that the game does not crash

  8. Run in Standalone, note that a crash occurs. The game will also crash in Packaged builds.

Product Version: UE 4.14
Tags:
more ▼

asked Nov 28 '16 at 10:44 PM in Bug Reports

avatar image

KGist
106 2 16 24

avatar image Sean L ♦♦ STAFF Nov 29 '16 at 04:22 PM

Hey KGist,

I've followed your repro, but I'm not seeing the crash occur. Is this happening for you in a clean project?

Also, please provide the following:

  • Logs from your project Saved->Logs folder after the crash occurs

  • Your Machine ID from the crash reporter window, if you are getting one, and ensure to hit Send & Close on the report.

Thanks

avatar image KGist Nov 29 '16 at 05:33 PM

Hi Sean,

My apologies, I missed a step in my outline. I've added a new Step 3 -- Set the Streaming Level to "Initially Loaded". Without this, the Parent blueprint will not be loaded and no crash will occur.

The crash does occur in a completely clean project, using just the steps provided.

Also, the crash occurs however the streaming level is loaded. Rather than setting the level to "Initially Loaded", you can load it via the "Load Stream Level" blueprint node or use a LevelStreamingVolume to reproduce the crash.

MachineId:B1C3990349070F03349BD28271E22ADF

Thanks, -Kelson link text

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

1 answer: sort voted first

Thanks for the clarification. I've tested this repro in a clean project, which I will attach here. I have not seen the crash occurring following your steps at this time. What I'd like you to do is take a look at the attached project and let me know if there are any steps or settings that I've missed that may be different from what you have.

Thankslink text

more ▼

answered Nov 30 '16 at 02:59 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

avatar image KGist Nov 30 '16 at 04:16 PM

Hi Sean,

Your project is initially crash free for me, as well, but is easily changed to a crashing state.

After the following the crash returned:

  1. Open the Parent blueprint

  2. Select the ChildActor component

  3. Under Child Actor Component, use the Child Actor Class dropdown to set the class to Child (should be a no-op)

  4. Note that a new property (Child Actor Template) appears in the Property panel

  5. The project will now crash when running Standalone

Before: alt text

After: alt text link text

It's very strange.

Thanks, -Kelson

avatar image Sean L ♦♦ STAFF Nov 30 '16 at 06:10 PM

I've reproduced the crash and entered a bug report, which you can track using the link below:

https://issues.unrealengine.com/issue/UE-39195

Thanks for your report.

(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