This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
Actors with ReplicateMovement
enabled and non-replicated root components don't get transform updates.
#2997
Labels
Description
Actors with
ReplicateMovement
enabled and non-replicated root components don't get transform updates.Expected behavior
Actors with
ReplicateMovement
enabled and non-replicated root components don't get transform updates. Indeed, they do if you toggle from Spatial Networking to Native Unreal Networking.Current behavior
ReplicateMovement
and theRootComponent
(Main Chassis) is set to not ReplicateRootComponent
isn't set to be simulating,UPrimitiveComponent::SyncComponentToRBPhysics()
will do nothing (specifically, it will early out), so all of the work thatFPhysicsReplication
does will not pass through theRootComponent
, meaning these commands never reach the Actor.Possible solution
You can workaround this by overloading
AActor::PostNetReceivePhysicState
in order to manually handle specific cases. A more robust solution will need more investigation.Environment
UnrealGDK:
0.11.0
UnrealEngine:
4.25-SpatialOSUnrealGDK
Internal ticket
UNR-4485
The text was updated successfully, but these errors were encountered: