Closed
Description
Describe the bug
ChangeOwnership gives KeyNotFoundException on the connected client
To Reproduce
- Make a prefab with a NetworkObject and NetworkTransform component
- Instantiate it on the server.
- Spawn the NetworkObject component
- Change ownership on the NetworkObject to the client
- Client gets exception
Expected behavior
Ownership transferred to the client
Screenshots
Spawning code on the server
Exception on the client
Environment (please complete the following information):
- OS: Windows 10
- Unity Version: 2020.3
- MLAPI Version (package): 0.1.0
- MLAPI Commit: 3e3aef6