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 165d57b commit 8c3ae59Copy full SHA for 8c3ae59
com.unity.netcode.gameobjects/Runtime/Spawning/NetworkSpawnManager.cs
@@ -949,9 +949,7 @@ internal NetworkObject CreateLocalNetworkObject(NetworkObject.SceneObject sceneO
949
}
950
951
952
- // Set the transform unless we were spawned by a prefab handler
953
- // Note: prefab handlers are provided the position and rotation
954
- // but it is up to the user to set those values
+ // Set the transform only if the sceneObject includes transform information.
955
if (sceneObject.HasTransform)
956
{
957
// If world position stays is true or we have auto object parent synchronization disabled
0 commit comments