Skip to content

Client/Owner authoritative NetworkTransform and Re-Parenting issue #2842

Description

@zachstronaut

When you have a moving client/owner authoritative NetworkTransform and the server changes its parent, the position where that object was on the server at the moment of the re-parenting gets serialized back to the client. The client is pushed back to a previous position (essentially back in time).

This problem isn't happening inside of NetworkTransform, though. You can observe the same issue where the client jumps to the server's position upon re-parenting if you have no NT at all.

The source of this problem is actually in ParentSyncMessage.Handle() messing with the position of objects and not respecting that somebody other than the server may own the position of the object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:highThis issue has high priority and we are focusing to resolve itstat:importedStatus - Issue is tracked internally at Unitytype:bugBug Report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions