Skip to content

NetworkTransform UseUnreliableDeltas incompatible with certain owner-authoritative enhancements #3559

@zachstronaut

Description

@zachstronaut

Description

When you have owner authoritative NetworkTransforms and are using re-parenting when your avatar is stepping on and off platforms, I notice that certain bugs that had been fixed come back.

Netcode 1.x for a long time had issues with owner authoritative player NetworkTransforms and re-parenting with local space and interpolation where there would be hiccups in the player position as they changed parents stepping on/off platforms and the local space interpolation data was incoming.

The following settings seemed to eliminate this kind of problem in Netcode 2.x:

NetworkTransform.SwitchTransformSpaceWhenParented = true
NetworkObject.SyncOwnerTransformWhenParented = false

However, if you enable UseUnreliableDeltas then the problem returns. I suspect this is because the out-of-order local space coordinate UDP packets are being applied immediately while the parent is not yet in sync between clients.

Environment

  • OS: Windows 11
  • Unity Version: 6000.1.3f1
  • Netcode Version: 2.4.2
  • Netcode Topology: Client-Server

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:mediumThis issue has medium priority and may take some time to be resolvedstat:awaiting-responseAwaiting response from author. This label should be added manually.stat: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