Description

If the actor with a replicated root component spawns and is immediately attached, when it replicates to the client the transform will be incorrect. Adding a small delay between the spawn and attachment does work. Marking the root component not replicated also works.

Steps to Reproduce

From UDN thread:
1. Create a new AActor (blueprint or whatever) with a few scene components. Set the actor and its root component to replicate.
2. Spawn this actor on the server somewhere other than origin and immediately attach it to something.
3. The server and client will see different actor positions.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-52540 in the post.

0
Login to Vote

Duplicate
ComponentUE - Networking
Affects Versions4.16
Fix Commit4568654
Main Commit4804559
CreatedNov 18, 2017
ResolvedNov 15, 2018
UpdatedJan 24, 2019
View Jira Issue