ChildActor SetChildActorClass not attaching to parent

I noticed a bug related to the UChildActorComponent

The problem occurs when i call the SetChildActorClass at runtime, And it’s not attaching the new Actor to the ChildActorComponent and it causes the child actor to not to inherit the parent actor’s transform.

I guess its not the expected behavior. The problem occurs only when i set the actor class at runtime.

Hi ,

  1. Does this occur in a clean, blank project with no additional content or is it limited to one project?
  2. What are the steps you have taken to reproduce this on your end?
  3. Is this a blueprint or c++ project?
  4. Did you get the editor from the launcher or github?

Hi ,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

Here are the project files:
https://drive.google.com/file/d/0BwYQPvBaUAHGbFdlaG8xc0VXWnc/view?usp=sharing

The problem is simple and very easy to reproduce.

Hi ,

What steps do I need to take to reproduce this on my end with the project you sent?

Open the project, press play and keep pressing T. The child actor won’t inherit it’s parent transform. My guess its because its not attaching correctly. Or is it the expected behavior?

Try running a print string off of the T event, is it printing the string as you would expect it to?

The problem is not with the the Press T event. The event is being fired. The Set Child Actor Class function is being called. The problem is that its not attaching the child actor to the component correctly. So when the parent component is rotating, the child actor stands still.

I was able to reproduce this on my end and have entered a bug report, UE-22528, to be assessed by the development staff.

Thank you !