Description

When spawning an actor, we don't seem to replicate the scale if it's set to (1,1,1), even if the root component's default scale is different to this. This results in the client using the default scale set on the root component, which may be different to (1,1,1), causing the actor to be different sizes on the client and server.
If an actor is spawned with a scale other than (1,1,1), the client will receive and apply this scale as expected, and if the root component is set to replicate, the correct scale will be received on the client as well.

Steps to Reproduce

Create a replicated actor with a non-replicated root component. Set this root component's default relative scale to something other than (1,1,1).
On the server, spawn this actor, passing in a scale of (1,1,1) to the spawn transform.
Expected: the server will spawn the actor with a scale of (1,1,1), and the client will do the same.
Actual: the server spawns the actor with a scale of (1,1,1), and the client spawns the actor at the actor's default scale.

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Networking
Affects Versions5.2
Target Fix5.5
CreatedFeb 28, 2023
UpdatedFeb 29, 2024