0
votes

Game doesn't work after back button pressed during splash screen or loading in android. I am using unity v 2019.2.0f1 personal. I made my project in v 2019.1.12f1 and then i upgraded rebuild it in v 2019.2.0f1. I know about that issue "unity not re-initializing after quitting in android", i some how fixed that but that solution works only if when game has fully loaded the scene (after splash screen).

I came to know about this when i accidentally pressed back button while game was showing splash screen then i went to the resent app or stack and tried to launch it but it was the same black screen of death. Please help.

1
I think the issue in general is that the app is not closed but only hibernated this still "running" in background. Have kind of the same issue on the MagicLeap ;) and I fear no way around it reallyderHugo

1 Answers

0
votes

You should try to work out with application events like "onPause" and "onFocus".

Check out this documentation:

https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnApplicationPause.html