We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7599c2f commit 069fdbeCopy full SHA for 069fdbe
1 file changed
com.unity.netcode.gameobjects/Runtime/Spawning/NetworkSpawnManager.cs
@@ -1614,7 +1614,7 @@ internal void DespawnAndDestroyNetworkObjects()
1614
// and set its parent to root
1615
if (childObject.IsSceneObject != null && childObject.IsSceneObject.Value)
1616
{
1617
- childObject.TryRemoveParent(childObject.WorldPositionStays());
+ childObject.TryRemoveParentCachedWorldPositionStays();
1618
}
1619
1620
0 commit comments