Skip to content

Commit 90559b3

Browse files
fix
Removing the update registration when cleaning out NetworkRigidbody.
1 parent 1f3c7a7 commit 90559b3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

com.unity.netcode.gameobjects/Runtime/Components/NetworkTransform.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,8 +1797,6 @@ internal void UnregisterRigidbody()
17971797
{
17981798
if (m_NetworkRigidbodyInternal)
17991799
{
1800-
NetworkManager.NetworkTransformRegistration(NetworkObject, false, false);
1801-
NetworkManager.NetworkTransformRegistration(NetworkObject, true, true);
18021800
m_NetworkRigidbodyInternal = null;
18031801
m_UseRigidbodyForMotion = false;
18041802
}

0 commit comments

Comments
 (0)