FirstGearGames / FishNet

FishNet: Unity Networking Evolved.
Other
1.39k stars 149 forks source link

Misleading method description #726

Closed JohnyBro closed 3 months ago

JohnyBro commented 4 months ago

Important

If General, Description, and Replication are not completed the issue will be closed immediately.

General Unity version: Unity 6 Preview Fish-Networking version: 4.3.8R

Description The description of NetworkObject.SetParent() say that we can pass null to remove parenting but when doing so it produce a NullReferenceException.

Replication Steps to reproduce the behavior: Call SetParent(null) on a NetworkObject.

Expected behavior The description should say to use the UnsetParent() method instead.

FirstGearGames commented 4 months ago

Resolved in 4.3.9.

Now properly unsets.