We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c695fd5 commit d8b6cdeCopy full SHA for d8b6cde
1 file changed
com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
@@ -352,7 +352,7 @@ private void CheckForInScenePlaced()
352
SceneMigrationSynchronization = false;
353
354
// Set our disabled in-scene placed flag for spawning initially disabled in-scene placed objects.
355
- m_InScenePlacedDisabledByDefault = gameObject.activeInHierarchy;
+ m_InScenePlacedDisabledByDefault = !gameObject.activeInHierarchy;
356
}
357
358
#endif // UNITY_EDITOR
0 commit comments