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"

Editor crash when two different Actor classes has the same USceneComponents property name.

Am I the only one who think it's a bug ?

What I have

I have 2 Actor classes Actor1, Actor2. Created Blueprint versions of those BP_Actor1, BP_Actor2.

Put BP_Actor2 as a child comp to BP_Actor1. Run in debug mode, Editor crash.

In both classes I've the same identifier for USceneComponent* SceneComp; Creating in constructor like this

 // Constructor in Actor1
 SceneComponent = CreateDefaultSubobject< USceneComponent >( TEXT( "Scene Actor1" ) );
 RootComponent = SceneComponent;

 // Constructor in Actor2
 SceneComponent = CreateDefaultSubobject< USceneComponent >( TEXT( "Scene Actor2" ) );
 RootComponent = SceneComponent;

What is working

If I rename USceneComponent for lets say Actor1 to USceneComponet* SceneCompActor2; everything is working as excepted.

Seems like unreal USceneComponent don't know how to parent ? Does it make sense two different Actors classes can't have the same property name ?

Product Version: UE 4.18
more ▼

asked Jan 18 '18 at 12:54 PM in Bug Reports

avatar image

16 1 3 6

avatar image alex-unrealUGSK Jan 18 '18 at 01:25 PM

I also realised, in hierarchy there are no Scene Actor1, Scene Actor2 names as clearly defined while creating components) , but names of the variables! ( SceneComponent ). IMHO that is causing this behaviour ?.

avatar image alex-unrealUGSK Jan 18 '18 at 02:13 PM

Another thing. Spawning ( not placing )BP_Actor2 under BP_Actor1 hierarchy is working ( not crashing editor )

avatar image Sean L ♦♦ STAFF Jan 19 '18 at 07:14 PM


We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.



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

0 answers: sort voted first
Be the first one to answer this question
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