Description
If a NetworkObject that has a ClientNetworkTransform (implemented as per the documentation) the Host/Server can commit the transform while it has not yet changed ownership. When another client takes ownership, the ability to commit transform is removed from the Server (so far so good) If the server then has the ownership returned to it, it will still not be allowed to commit transform.
Reproduce Steps
- Set up NetworkObject with ClientNetworkTransform
- Change ownership to client 1 (server loses right to commit transform)
- Change ownership to client 0 (the Host)
- The host still can't commit transform
Actual Outcome
The Host cannot commit transform for an owned object with ClientNetworkTransform when it has previously been owned by another client.
Expected Outcome
The Host should be treated as a client and regain right to commit transform on a ClientNetworkTransform despite having previously been owned by another client.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- OS: Wibndows 11
- Unity Version: 2022.2.19
- Netcode Version: 1.4.0
- Netcode Commit: latest release in the unity registry
Additional Context
Add any other context about the problem here. Logs, code snippets would be useful here but please also consider attaching a minimal Unity project that reproduces the issue.
Description
If a NetworkObject that has a ClientNetworkTransform (implemented as per the documentation) the Host/Server can commit the transform while it has not yet changed ownership. When another client takes ownership, the ability to commit transform is removed from the Server (so far so good) If the server then has the ownership returned to it, it will still not be allowed to commit transform.
Reproduce Steps
Actual Outcome
The Host cannot commit transform for an owned object with ClientNetworkTransform when it has previously been owned by another client.
Expected Outcome
The Host should be treated as a client and regain right to commit transform on a ClientNetworkTransform despite having previously been owned by another client.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional Context
Add any other context about the problem here. Logs, code snippets would be useful here but please also consider attaching a minimal Unity project that reproduces the issue.