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 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.

Product Version: UE 4.9
Tags:
more ▼

asked Oct 14 '15 at 11:00 AM in Bug Reports

avatar image

Azarus
1.9k 60 50 190

avatar image Adam Davis STAFF Oct 14 '15 at 08:28 PM

Hi Azarus,

  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?

avatar image Adam Davis STAFF Oct 19 '15 at 02:57 PM

Hi Azarus,

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.

avatar image Azarus Oct 19 '15 at 03:05 PM

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

The problem is simple and very easy to reproduce.

avatar image Adam Davis STAFF Oct 19 '15 at 05:55 PM

Hi Azarus,

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

avatar image Azarus Oct 20 '15 at 03:02 PM

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?

avatar image Adam Davis STAFF Oct 21 '15 at 02:08 PM

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

avatar image Azarus Oct 22 '15 at 10:31 AM

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.

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

1 answer: sort voted first

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

more ▼

answered Oct 22 '15 at 07:00 PM

avatar image Azarus Oct 26 '15 at 12:26 PM

Thank you Adam!

(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