I have a unity android app which catches the event when it lost its focus to show a pause menu. However when I'm resuming the app after I press the home button, the app restarts. Tracing the logs in eclipse, **onDestroy** is called after resuming. I've read in my google searches that it's probably caused by the configChange tag in the manifest file, but I already included it in my project (See the code below).
Anything I missed in my manifest file or is it probably caused by another problem? As an additional info, the app is running on the background after I press the home button as I traced it in eclipse. The restart happens upon resuming the app. I hope someone can help me on this issue. Thank you very much.
↧