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
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Add comment