Dear all,
we tried to implement an exit button within our game (an escape room adventure in the Sherlock universe). This is quite easy for a PC version but it does not work at all on android.
We already tried the following Script Commands:
For deployment we use the "Altlimit Android Client".
We would be grateful for any ideas...
EDIT: We did use SDR Super Tools, which is known to interfere with the SceneManager.exit-command when in playtest mode. However, the problem occurs in the deployed version as well and it also remained after deactivating/deleting the plugin.
we tried to implement an exit button within our game (an escape room adventure in the Sherlock universe). This is quite easy for a PC version but it does not work at all on android.
We already tried the following Script Commands:
- SceneManager.exit();
- window.close(this)
- close.bind(this)
- SceneManager.popScene(); SceneManager.exit();
- this.finishAffinity();
- finishAndRemoveTask();
- getActivity().finish();
- System.exit(0);
- int pid = android.os.Process.myPid(); android.os.Process.killProcess(pid);
For deployment we use the "Altlimit Android Client".
We would be grateful for any ideas...
EDIT: We did use SDR Super Tools, which is known to interfere with the SceneManager.exit-command when in playtest mode. However, the problem occurs in the deployed version as well and it also remained after deactivating/deleting the plugin.