- Home /
Unity backbutton crashes while on first scene
Hi,
I am developing an Android app in Unity with Eclipse integration. I'll try to describe it:
It has a "menu" scene. Basically, it's a screen which prints "Loading" and waits for a parameter from eclipse. Depending on the parameter received, it loads a specific scene. In all other scenes, android back button was ignored by default, so I wrote code to capture the button press and quit application (it works fine). However, I've noticed that if I press the backbutton while "Loading" text is on screen (I have around 1-2 seconds to do that), application crashes. Moreover, I've noticed this also happens if I press the backbutton while on the default Unity splash screen, when execution hasn't reached my code.
Does this issue related to this fact posted in changelog?: Android: Back button will quit the application while the first level has not yet been loaded.
Any idea?
Thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220613100958im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Android Unity game crashed on some devices after splash screen 0 Answers
Crash on Android 1 Answer
Motorola Atrix MB860 crash always after splash screen 0 Answers
Android back button with pause game issue 4 Answers
Android game crash 2 Answers