Open Fortune117 opened 6 months ago
It’s because the body is networked
Same problem. Client failed to link properties (components, gameobjects) on networked (object mode) parents related to networked (object mode) children. Deserializing error (GameObject not found):
Note that all stuff works correctly if child is networked in snapshot mode
Describe the bug
When trying to network a player prefab I receive an error on the connecting client when they try to deserialize the game object for it:
The property on the player prefab looks like this:
It points to this game object:
The issue seems to only happen when the Model gameobject is set to the
Network Object
networking mode, but does correctly deserialize when set toNetwork Snapshot
. In my case, I need it to beNetwork Object
for the purpose of syncing rotation.To Reproduce
Model
gameobject toNetwork Snapshot
and it deserializes correctly.Expected behavior
Should deserialize correctly.
Media/Files
bug_repo.zip
Additional context
No response