You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating the SwitchTransformSpaceWhenParented test to validate using various NetworkTransform configurations (i.e. half precision, quaternion, quaternion compressed) while also parenting with world position stays enabled and disabled.
Removing trailing space in recent documentation update.
> When using the `SpawnWithOwnership` method, be aware that any component that has owner-specific checks to perform specific actions will not be invoked on the spawn authority side during the spawn sequence. The spawn authority is the server when using a client-server network topology and can be any client when using a distributed authority network topology. Using `SpawnWithOwnership` can impact things like [NetworkTransform](../helper/networktransform.md), when using to an owner authority motion model, and potentially provide undesired parenting artifacts and/or impact your own scripts if you are planning to have the spawn authority make any further post-spawn adjustments within the same frame.
50
+
> When using the `SpawnWithOwnership` method, be aware that any component that has owner-specific checks to perform specific actions will not be invoked on the spawn authority side during the spawn sequence. The spawn authority is the server when using a client-server network topology and can be any client when using a distributed authority network topology. Using `SpawnWithOwnership` can impact things like [NetworkTransform](../helper/networktransform.md), when using to an owner authority motion model, and potentially provide undesired parenting artifacts and/or impact your own scripts if you are planning to have the spawn authority make any further post-spawn adjustments within the same frame.
51
51
>To avoid potential issues, it's recommended to use `Spawn`, where the spawn authority starts as the owner throughout the spawn sequence, makes adjustments post-spawn, and then immediately follow with a call to `ChangeOwnership`.
52
52
53
53
To change ownership, use the `ChangeOwnership` method:
Assert.False(networkTransform.InLocalSpace,$"{m_ChildInstance.name} should never be in local space when not parented and SwitchTransformSpaceWhenParented is enabled!");
AssertOnTimeout($"Timed out waiting for all non-authority transforms of the child to match the authority transform of the child {m_ChildInstance.name}!");
0 commit comments