- Home /
Unity crashes after setting true the UI panel
Hi everyone. I have an issue with Unity. My android mobile game crashes after I click a button, that opens a panel with other ui elements. My game waits for about a 5 seconds and then just crashes. On my computer its working perfectly. I dont have any while methods in any of my scripts, my drawcalls are not too high, its between 18 and 31 ( i created some sprite atlases ). I dont really know what the problem could be. Please help. video example: https://youtu.be/T6tOG_StW68
Answer by korotaevnikita73 · Jan 15 at 09:59 AM
I figured it out. The problem was, as I thought, not in the number of elements or the script. Just a bug in the engine. Updated from 2020 to 2021 Unity Editor and everything works perfectly, no freezes and no crashes!
What kind of bug? Have you reported it? If yes could you please send a link?
Answer by Dailyalex · Jan 14 at 02:32 PM
I suppose that, this information is not enough to help you, because mistake could be anywhere in your code. My advice is to install Android Studio and just run your game through wire on your device and check console in Android studio for any errors or stacktrace.
Answer by korotaevnikita73 · Jan 14 at 03:29 PM
but its actually everything that is contacting with my panels and buttons, only this four voids in store script, i can put full store script here, there arent any other scripts.
Your answer
Follow this Question
Related Questions
crash with UnityCrashHandler64.exe in unity 2018.2.8f1 1 Answer
,Every time i hit play Unity 2020 crashes 1 Answer
Unity crashes at big firebase data demand? 0 Answers
Unity2D Crashes when switching to Scene View 0 Answers
Android app crashes after unity splash screen. Migrated project from 2018.1.6f1 to 2019.2.1f1 0 Answers