- Home /
Android Crashes on game load
I am developing a simple 2d dress-up type game for android. 2 Scenes: Title Screen and the actual level
I completed the game,and it works well in unity's editor and in android emulator (bluestacks),yet crashes my android at loading screen.
I tried rebuilding my levels into one,and at early stages it worked well,yet still after populating the scene and adding the code it crashes
plus from time to time i'm getting parrsing errors at install
what could be wrong,how can i fix the problem,or at least identify it?
02-04 23:33:22.041 D/VoldCmdListener(1440): asec rename smdl2tmp1 com.kaycornea.Princess_Dress-2
02-04 23:33:24.133 W/PackageManager(1594): Mounting container com.kaycornea.Princess_Dress-2
02-04 23:33:24.143 D/VoldCmdListener(1440): asec mount com.kaycornea.Princess_Dress-2 {} 1000
02-04 23:33:24.193 D/VoldCmdListener(1440): asec path com.kaycornea.Princess_Dress-2
02-04 23:33:24.193 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:33:24.483 I/PackageManager(1594): Package com.kaycornea.Princess_Dress codePath changed from /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk; Retaining data and using new
02-04 23:33:24.493 I/PackageManager(1594): Linking native library dir for /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk
02-04 23:33:25.634 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:33:25.634 W/PackageManager(1594): Code path for pkg : com.kaycornea.Princess_Dress changing from /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk
02-04 23:33:25.634 W/PackageManager(1594): Resource path for pkg : com.kaycornea.Princess_Dress changing from /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk
02-04 23:33:26.395 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:33:29.478 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:33:29.508 D/VoldCmdListener(1440): asec unmount com.kaycornea.Princess_Dress-1 force
02-04 23:33:30.008 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:33:30.018 V/BackupManagerService(1594): updatePackageParticipantsLocked: com.kaycornea.Princess_Dress
02-04 23:33:31.280 D/VoldCmdListener(1440): asec destroy com.kaycornea.Princess_Dress-1 force
02-04 23:33:33.121 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:33:33.121 V/BackupManagerService(1594): updatePackageParticipantsLocked: com.kaycornea.Princess_Dress
02-04 23:33:33.772 I/ActivityManager(1594): Start proc com.kaycornea.Princess_Dress for activity com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity: pid=9601 uid=10139 gids={3003}
02-04 23:34:02.160 I/WindowManager(1594): WIN DEATH: Window{41785110 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:34:02.370 W/WindowManager(1594): Force-removing child win Window{4192d808 SurfaceView paused=false} from container Window{41785110 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:34:02.400 I/WindowManager(1594): WINDOW DIED Window{41785110 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:34:02.530 I/ActivityManager(1594): Process com.kaycornea.Princess_Dress (pid 9601) has died.
02-04 23:34:02.540 W/ActivityManager(1594): Force removing ActivityRecord{413260d0 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity}: app died, no saved state
02-04 23:41:20.149 D/VoldCmdListener(1440): asec rename smdl2tmp1 com.kaycornea.Princess_Dress-1
02-04 23:41:20.169 W/PackageManager(1594): Mounting container com.kaycornea.Princess_Dress-1
02-04 23:41:20.169 D/VoldCmdListener(1440): asec mount com.kaycornea.Princess_Dress-1 {} 1000
02-04 23:41:20.229 D/VoldCmdListener(1440): asec path com.kaycornea.Princess_Dress-1
02-04 23:41:20.239 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:41:20.530 I/PackageManager(1594): Package com.kaycornea.Princess_Dress codePath changed from /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk; Retaining data and using new
02-04 23:41:20.530 I/PackageManager(1594): Linking native library dir for /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk
02-04 23:41:21.641 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:41:21.641 W/PackageManager(1594): Code path for pkg : com.kaycornea.Princess_Dress changing from /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk
02-04 23:41:21.641 W/PackageManager(1594): Resource path for pkg : com.kaycornea.Princess_Dress changing from /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk
02-04 23:41:22.331 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:41:24.594 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:41:24.944 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:41:24.944 V/BackupManagerService(1594): updatePackageParticipantsLocked: com.kaycornea.Princess_Dress
02-04 23:41:26.956 D/VoldCmdListener(1440): asec unmount com.kaycornea.Princess_Dress-2 force
02-04 23:41:28.007 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:41:28.007 V/BackupManagerService(1594): updatePackageParticipantsLocked: com.kaycornea.Princess_Dress
02-04 23:41:29.268 D/VoldCmdListener(1440): asec destroy com.kaycornea.Princess_Dress-2 force
02-04 23:41:30.950 I/ActivityManager(1594): Start proc com.kaycornea.Princess_Dress for activity com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity: pid=10739 uid=10139 gids={3003}
02-04 23:42:19.707 E/ActivityManager(1594): 44% 10739/com.kaycornea.Princess_Dress: 33% user + 11% kernel / faults: 6154 minor 38 major
02-04 23:42:19.707 E/ActivityManager(1594): 42% 10739/com.kaycornea.Princess_Dress: 24% user + 18% kernel / faults: 290 minor
02-04 23:42:30.658 W/ActivityManager(1594): Activity pause timeout for ActivityRecord{411a04e8 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity}
02-04 23:42:47.885 I/WindowManager(1594): WIN DEATH: Window{416d5fa0 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:42:47.975 W/WindowManager(1594): Force-removing child win Window{418351c0 SurfaceView paused=false} from container Window{416d5fa0 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:42:48.045 I/WindowManager(1594): WINDOW DIED Window{416d5fa0 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:42:48.045 I/ActivityManager(1594): Process com.kaycornea.Princess_Dress (pid 10739) has died.
02-04 23:42:48.045 W/ActivityManager(1594): Force removing ActivityRecord{411a04e8 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity}: app died, no saved state
02-04 23:48:04.239 D/VoldCmdListener(1440): asec rename smdl2tmp1 com.kaycornea.Princess_Dress-2
02-04 23:48:04.420 W/PackageManager(1594): Mounting container com.kaycornea.Princess_Dress-2
02-04 23:48:04.420 D/VoldCmdListener(1440): asec mount com.kaycornea.Princess_Dress-2 {} 1000
02-04 23:48:04.480 D/VoldCmdListener(1440): asec path com.kaycornea.Princess_Dress-2
02-04 23:48:04.480 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:48:04.980 I/PackageManager(1594): Package com.kaycornea.Princess_Dress codePath changed from /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk; Retaining data and using new
02-04 23:48:04.980 I/PackageManager(1594): Linking native library dir for /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk
02-04 23:48:06.031 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:48:06.041 W/PackageManager(1594): Code path for pkg : com.kaycornea.Princess_Dress changing from /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk
02-04 23:48:06.041 W/PackageManager(1594): Resource path for pkg : com.kaycornea.Princess_Dress changing from /mnt/asec/com.kaycornea.Princess_Dress-1/pkg.apk to /mnt/asec/com.kaycornea.Princess_Dress-2/pkg.apk
02-04 23:48:06.722 I/ActivityManager(1594): Force stopping package com.kaycornea.Princess_Dress uid=10139
02-04 23:48:09.665 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:48:10.666 D/VoldCmdListener(1440): asec unmount com.kaycornea.Princess_Dress-1 force
02-04 23:48:10.776 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:48:10.786 V/BackupManagerService(1594): updatePackageParticipantsLocked: com.kaycornea.Princess_Dress
02-04 23:48:12.668 D/VoldCmdListener(1440): asec destroy com.kaycornea.Princess_Dress-1 force
02-04 23:48:14.690 D/BackupManagerService(1594): Received broadcast Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 (has extras) }
02-04 23:48:14.690 V/BackupManagerService(1594): updatePackageParticipantsLocked: com.kaycornea.Princess_Dress
02-04 23:48:15.861 I/ActivityManager(1594): Start proc com.kaycornea.Princess_Dress for activity com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity: pid=11886 uid=10139 gids={3003}
02-04 23:49:02.947 E/ActivityManager(1594): Reason: Broadcast of Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 cmp=com.android.vending/com.google.android.finsky.receivers.PackageMonitorReceiver$RegisteredReceiver (has extras) }
02-04 23:49:02.947 E/ActivityManager(1594): 6.7% 11886/com.kaycornea.Princess_Dress: 5% user + 1.7% kernel / faults: 8221 minor 622 major
02-04 23:49:02.947 E/ActivityManager(1594): 8.4% 11886/com.kaycornea.Princess_Dress: 5% user + 3.3% kernel / faults: 596 minor 63 major
02-04 23:49:02.947 E/ActivityManager(1594): 1.6% 11886/.Princess_Dress: 1.6% user + 0% kernel
02-04 23:49:15.999 I/ActivityManager(1594): Process com.kaycornea.Princess_Dress (pid 11886) has died.
02-04 23:49:15.999 W/ActivityManager(1594): Force removing ActivityRecord{413da230 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity}: app died, no saved state
02-04 23:49:16.500 I/WindowManager(1594): WINDOW DIED Window{419328f8 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:49:16.500 W/WindowManager(1594): Force-removing child win Window{4185c1f0 SurfaceView paused=false} from container Window{419328f8 com.kaycornea.Princess_Dress/com.unity3d.player.UnityPlayerProxyActivity paused=false}
02-04 23:49:21.725 E/ActivityManager(1594): Reason: Broadcast of Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.kaycornea.Princess_Dress flg=0x10000010 cmp=com.facebook.katana/com.facebook.dash.launchables_v1.receiver.LaunchablesReceiver (has extras) }
Answer by trzmiel · Nov 30, 2016 at 07:37 AM
@RayCornea Have you found any solution? I have similar problem with my old project during scene load.
W/WindowManager(2757): Force-removing child win Window{11bb6b62 u0 d0 SurfaceView} from container Window
Well, the game logics we're rebuit (by our coder) and everything worked. I was told that the problem was with the quantity of loaded stuff, which exceeded the testing device's maximum stats. As it turns if you overflow the RA$$anonymous$$ the game will crash, thus it depends on the device's ram capacity (explaining the notebook and emulator working).
I would recommend upgrading to the newest unity version (if possible), while keeping a backup (just in case). And if that doesn't help, then try to lower the load on ram (objects and variables currently in the scene / cached)
Good Luck
Yes. It was exactly my problem. I had to remove some Audio Sources from objects and rebuild sound system in my game and the problem disappeared. Thank you very much.
Your answer
Follow this Question
Related Questions
Unity Android app crashes when activated a few times with Android's SDK's startActivity(intent). 1 Answer
Unity Game Crashes on load using Nox 0 Answers
Problem with terminating apps on Android 1 Answer
What might cause an Android app to freeze 1 Answer
Android level doesn't want to work after Application.LoadLevel 1 Answer