-
Notifications
You must be signed in to change notification settings - Fork 459
NetworkTransform stops syncing after repeated respawns or ownership changes #3654
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
StaleAdded after 30 days since stat:awaiting response was added (if it's still present)Added after 30 days since stat:awaiting response was added (if it's still present)stat:InvestigatingIssue is currently being investigatedIssue is currently being investigatedstat:awaiting-responseAwaiting response from author. This label should be added manually.Awaiting response from author. This label should be added manually.stat:awaiting-triageStatus - Awaiting triage from the Netcode team.Status - Awaiting triage from the Netcode team.type:bugBug ReportBug Report
Metadata
Metadata
Assignees
Labels
StaleAdded after 30 days since stat:awaiting response was added (if it's still present)Added after 30 days since stat:awaiting response was added (if it's still present)stat:InvestigatingIssue is currently being investigatedIssue is currently being investigatedstat:awaiting-responseAwaiting response from author. This label should be added manually.Awaiting response from author. This label should be added manually.stat:awaiting-triageStatus - Awaiting triage from the Netcode team.Status - Awaiting triage from the Netcode team.type:bugBug ReportBug Report
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
In Distributed Authority, NetworkTransform sometimes stops working after repeatedly respawning or changing ownership.
This issue occurs randomly, usually after 3–10 cycles of despawning, respawning, and updating ownership. When this happens, movement sync completely stops for that object.
During debugging, I discovered that on the session owner’s side, the Interpolate property of the affected NetworkTransform is being set to false, while it remains true on all other clients.
To fix this, I implemented a workaround:
Here's the code I’m using to work around the problem. It periodically checks all NetworkTransform components and resets the Interpolate property when needed.
Important Note:
If I try to reset the Interpolate property directly on its current owner, it has no effect — it only works after temporarily transferring ownership.
Environment