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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment