Unity-Technologies / multiplayer-community-contributions

Community contributions to Unity Multiplayer Networking products and services.
MIT License
435 stars 163 forks source link

NetworkDictionary does not dispose of NativeArrays for sceneobjects #237

Open bentrewhella opened 1 year ago

bentrewhella commented 1 year ago

When initialising a NativeDictionary as part of class initialisation, scene objects do not get disposed of when entering and exiting the editor player. Objects initialised on play (e.g. in Awake) are fine. Does not affect objects initialised at runtime.