com.unity.netcode.gameobjects
com.unity.netcode.gameobjects copied to clipboard
fix: Avoid throwing exception when using NetworkList without a NetworkManager
Continues #2540 Fixes #2539
Changelog
- Added:
LocalClientCannotWritefunction to co-locate the shared functionality - Fixed: Ensure that the
NetworkManagerexists before attempting to access theLocalClientId
Testing and Documentation
- No tests have been added.
Backport
Up-ported in #3503
@EmandM I just tested this branch in my project and confirm it fixes my original issue. Thank you!