- Home /
White screen freeze and crash on Android
My game works fine when I run it in the Unity Editor, but when I either export it as .apk or build and run on my phone, it opens a completely white screen > freezes for 5 seconds or so and then crashes. You may note I tried to use the official Facebook SDK before, but it didn't work and removed it. Before that it worked fine.
ADB logcat shows this:
adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG
On Start
02-16 15:51:44.529 771 3779 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.indefect.swerve/com.unity3d.player.UnityPlayerActivity (has extras)} from uid 10037
02-16 15:51:44.578 771 2224 E ActivityManager: applyOptionsLocked: Unknown animationType=0
02-16 15:51:44.600 771 2224 I ActivityManager: Start proc 31538:com.indefect.swerve/u0a791 for activity com.indefect.swerve/com.unity3d.player.UnityPlayerActivity
02-16 15:51:44.608 771 785 W ActivityManager: Stopping service due to app idle: u0a791 -27s955ms com.indefect.swerve/com.google.firebase.iid.FirebaseInstanceIdService
On Crash
02-16 15:51:54.547 771 785 W ActivityManager: Launch timeout has expired, giving up wake lock!
02-16 15:51:54.792 771 11008 W ActivityManager: Force finishing activity com.indefect.swerve/com.unity3d.player.UnityPlayerActivity
02-16 15:51:54.804 771 786 I ActivityManager: Showing crash dialog for package com.indefect.swerve u0
02-16 15:51:55.298 771 785 W ActivityManager: Activity pause timeout for ActivityRecord{63551b6 u0 com.indefect.swerve/com.unity3d.player.UnityPlayerActivity t53354 f}
02-16 15:52:00.704 771 11014 I ActivityManager: Process com.google.android.apps.messaging (pid 31070) has died: cch+6CEM
02-16 15:52:04.732 771 785 W ActivityManager: Timeout executing service: ServiceRecord{ec11dc0 u0 com.indefect.swerve/com.google.firebase.iid.FirebaseInstanceIdService}
02-16 15:52:04.797 771 785 I ActivityManager: Crashing app skipping ANR: ProcessRecord{7ccadb5 31538:com.indefect.swerve/u0a791} executing service com.indefect.swerve/com.google.firebase.iid.FirebaseInstanceIdService
02-16 15:52:05.614 771 785 W ActivityManager: Activity destroy timeout for ActivityRecord{63551b6 u0 com.indefect.swerve/com.unity3d.player.UnityPlayerActivity t53354 f}
So does anyone have an idea for the cause?
You may download it here, but I'll revert back to 1.0.7 if no answer is given today
Thanks in advance!
Comment