Description

Setting a component to replicate in an Actor that is already set to replicate alters the location on the Client after enabling physics. Note this only appears to occur with components added in Construction Script or during play; components in the Components tab behave as expected if set to replicate in an already replicated Actor.

4.9.2 test project attached.

Reproduced in 4.9.2, 4.10.2, and 4.11 Preview 4. In 4.12 (//UE4/Dev-Main at CL 2843442), two static meshes are created, and one behaves this way while the other does not. I believe that's a separate bug.

Steps to Reproduce
  1. Open a blank project
  2. Create a new Actor Blueprint
  3. Drop the Blueprint into the level
  4. In Details Pane, set Replicates (True)
  5. In the Construction Script, Add Static Mesh Component (Cube)
  6. Set Is Replicated (True)
  7. Set Simulate Physics (True)
  8. PIE with players set to 2

Result:
On the Client, the Actor's Location values are doubled

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Won't Fix
ComponentUE - Networking
Affects Versions4.9.24.10.24.124.13
CreatedJan 27, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue