We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa487f1 commit 54264cbCopy full SHA for 54264cb
1 file changed
com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
@@ -391,7 +391,7 @@ private void CheckForInScenePlaced()
391
public void DeferDespawn(int tickOffset, bool destroy = true)
392
{
393
// Ensure we log the DAMode message first as locking ownership is not allowed if not in DAMode.
394
- if (!NetworkManagerOwner.DistributedAuthorityMode)
+ if (!NetworkManager.DistributedAuthorityMode)
395
396
if (NetworkManager.LogLevel <= LogLevel.Error)
397
0 commit comments