Change the QuitGame method in the Level Manager:
#if UNITY_EDITOR
EditorApplication.isPlaying = false;
#else
Application.Quit();
#endif
Change the QuitGame method in the Level Manager:
#if UNITY_EDITOR
EditorApplication.isPlaying = false;
#else
Application.Quit();
#endif