| Description | When editing scripts Unity calls OnDisable, compiles the new assembly, and finally calls OnEnable again.
Our NoesisView component register the Renderer (NoesisRenderer.RegisterView(_uiView, _commands)) during OnEnable, but unregisters it (NoesisRenderer.UnregisterView(_uiView, _commands)) during OnDestroy.
So when scripts are compiled a new view+renderer are created and registered in the native library without unregistering the previous one.
This can lead to crashes when closing Unity editor. |
|---|