- Home /
Question by
IvayloDev · Nov 08, 2018 at 02:54 PM ·
buildapplication.quit
Application.Quit not working in build
Application.Quit doesn't work in build. It works only sometimes and only on my laptop. When I test it on other pc it doesn't work
Comment
Need more details, can you link where it's being called, what OS the machines are using, etc.
sure, I have attached a script to a button and on button click I call a method in this script which contains Application.Quit and it is called every time the button is pressed. The platform is pc and the os is windows 10.
for all my other games, It has worked but this time I can't understand why it doesn't
Application.quit is confirmed working on windows builds. It does NOT work in editor. there must be something else going on in your code where it is not getting to that line