Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ internal void WriteSpawn_Server(NetworkObject nob, NetworkConnection connection,
* on the other end. This is problematic because the object which is parent
* may not be spawned yet. Clients handle caching potentially not yet spawned
* objects via Ids. */
headerWriter.WriteNetworkBehaviourId(nob.CurrentParentNetworkBehaviour);
headerWriter.WriteNetworkObjectId(nob.CurrentParentNetworkBehaviour.ObjectId);
}
/* Writing a scene object. */
if (sceneObject)
Expand Down