com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

fix: Avoid throwing exception when using NetworkList without a NetworkManager

Open EmandM opened this issue 7 months ago • 1 comments

Continues #2540 Fixes #2539

Changelog

  • Added: LocalClientCannotWrite function to co-locate the shared functionality
  • Fixed: Ensure that the NetworkManager exists before attempting to access the LocalClientId

Testing and Documentation

  • No tests have been added.

Backport

Up-ported in #3503

EmandM avatar Jun 13 '25 20:06 EmandM

@EmandM I just tested this branch in my project and confirm it fixes my original issue. Thank you!

PitouGames avatar Jun 17 '25 17:06 PitouGames