View Issue Details

IDProjectCategoryView StatusLast Update
0001814NoesisGUIUnity3Dpublic2020-10-21 13:49
ReportersfernandezAssigned Tojsantos 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.0.6 
Target Version3.0.7Fixed in Version3.0.7 
Summary0001814: Crash closing Unity after compiling scripts while playing
DescriptionWhen 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.
Steps To Reproduce- Open QuestLog sample and click Play
- Edit any script (for example QuestLog's ViewModel.cs) and save it
- Go back to Unity
- Stop and close Unity
TagsNo tags attached.
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-10-19 13:32 sfernandez New Issue
2020-10-19 13:32 sfernandez Assigned To => jsantos
2020-10-19 13:32 sfernandez Status new => assigned
2020-10-19 13:32 sfernandez Target Version => 3.0.7
2020-10-21 13:49 jsantos Status assigned => resolved
2020-10-21 13:49 jsantos Resolution open => fixed
2020-10-21 13:49 jsantos Fixed in Version => 3.0.7