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"

Child Actor transform zeroed for clients when "Replicate"

Steps to reproduce:

  • Create two blueprints from Actor, name them Parent and Child.

  • Set a static mesh component or something in each to visualize them.

  • Add "Child" as a Child Actor in Parent. Move the Child Actor, rotate and scale it.

  • Check "Replicates" for Child Actor

  • Place Parent in scene. Play scene with 2 clients.

Expected Outcome:

Both server and client should see Child moved, rotated and scaled within Parent

What really happens:

Server sees Child moved, rotated and scaled within Parent, but for the client Child has reset its transform.

Same result happens if Child has replicates unchecked, and after a delay has it enabled through a blueprint.

Product Version: Not Selected
Tags:
more ▼

asked Oct 13 '14 at 02:13 PM in Bug Reports

avatar image

Acriax
146 11 16 28

avatar image Doug E ♦♦ STAFF Oct 13 '14 at 03:48 PM

Hey Acriax-

Just to make sure I understand what you're doing, when you add the child in the parent and then move the child, you're moving/rotating/scaling from within the parent correct? Also, what version of the engine are you working in?

avatar image Acriax Oct 13 '14 at 03:50 PM

Yeah, moving the childactor component.

4.5

avatar image Wobbleyheadedbob Oct 15 '14 at 09:53 PM

I've hit the same problem, though mine went completely insane as both static mesh components simulate physics. On the client side this ends up with the 2 components trying to occupy the same space.

Fun to watch but not very useful.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hey Acriax-

Thanks for the information. I was able to reproduce this internally and have submitted it to our tracking system (TTP #349495).

Cheers

Doug Wilson

more ▼

answered Oct 13 '14 at 09:06 PM

avatar image Wobbleyheadedbob Dec 05 '14 at 10:25 PM

Is there a scheduled fix in the pipeline? I was hoping there'd be something in 4.6 alas there was not. Is there somewhere I can track TTP #349495?

avatar image Doug E ♦♦ STAFF Dec 08 '14 at 04:54 PM

Hey Wobbleyheadedbob-

This is still being investigated by our engineers. It is difficult to give an exact time frame for the fix but we are working to fix this bug as quickly as possible.

Thanks

Doug Wilson

avatar image Wobbleyheadedbob Dec 09 '14 at 01:31 PM

Thanks Doug. Thought I'd just check to see if there was a public bug tracker item I could 'watch' or subscribe to.

(comments are locked)
10|2000 characters needed characters left

A temporary fix I found was to store the initial transformation of the actor on Begin Play, then enable Replicates, wait a short while, and then set the transformation to the stored value when client.

Like this (added in Child):

alt text

more ▼

answered Oct 13 '14 at 03:55 PM

avatar image

Acriax
146 11 16 28

avatar image Doug E ♦♦ STAFF Oct 13 '14 at 05:16 PM

I am attempting to reproduce this and want to make sure I'm following the same steps you are. The first thing you do is to create a blueprint (parent) and add a static mesh to it. Then create another blueprint (child) and add a static mesh to the second blueprint as well. Then you add a ChildActor component to the parent blueprint and transform the ChildActor component. After that you add the parent blueprint to the level and then play in editor with 2 clients set? Are there any steps I'm missing to reproduce this bug?

Cheers

Doug Wilson

avatar image Acriax Oct 13 '14 at 08:16 PM

Yes, the ChildActor uses the second blueprint (child) when specifying class. Also, the second blueprint (child) has to be checked as replicates.

(comments are locked)
10|2000 characters needed characters left
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