Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.0.0p2
Issue ID
683625
Regression
No
Unity has no proper script lifecycle for calling event functions before quiting Unity editor
Quitting Unity Editor doesn't call OnDestroy(), OnDisable() event functions which is often used in editor window extension scripts.
Users have no way to make editor plugins which would allow them to execute certain actions before Unity editor quits, like auto-saving or cleaning temp files. There should be implemented a feature somehow similar to OnApplicationQuit(), but just for an Editor, or script lifecycle should be modified so that when Unity editor is closing OnDestroy/OnDisable event functions would be called.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Add comment