- Home /
Question by
DearUnityPleaseAddSerializableDictionaries · Aug 24, 2021 at 02:14 AM ·
application.quit
Unity - quit without calling OnDisable, because Quit takes a long time
Quitting a Unity game sometimes takes a long time and on one of my old Windows computers it crashed my computer.
Is there a way to "immediately" force quit when someone clicks the "cross" button on the window, instead of waiting for 3 seconds to quit.
E.g. is there a "method" that could force quit really quickly? Another question is, is there way to override the callback for the "cross" button on the top right corner.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613042057im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Problems with Android immersive mode 2 Answers
Application.Quit not working in build 0 Answers
Back Button menu navigation issue 1 Answer
Exit Game Without Quitting on Mobile 1 Answer
OnApplicationQuit not working on android 0 Answers