Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Game crashes on start up (Android)

Discussion in 'Editor & General Support' started by orrinjones, Sep 7, 2017.

  1. orrinjones

    orrinjones

    Joined:
    Jan 14, 2017
    Posts:
    8
    Okay i didn't want it to come to this but i am left with no choice but to post to the forums. I recently upgraded to unity 2017.1.xxx. before i was using unity version 5.4.xx. When i build the game the build is successful with no errors in the console but it fails to launch on device Huawei P9 Lite. Logcat shows:


    --------- beginning of main
    09-07 08:45:25.378 978 3076 W ActivityManager: getRunningAppProcesses: caller 10100 does not hold REAL_GET_TASKS; limiting output
    09-07 08:45:26.906 978 1987 W ActivityManager: Permission Denial: opening provider com.huawei.android.launcher.LauncherProvider from ProcessRecord{f85fa28 30083:com.facebook.katana/u0a100} (pid=30083, uid=10100) requires com.huawei.android.launcher.permission.READ_SETTINGS or com.huawei.android.launcher.permission.WRITE_SETTINGS
    09-07 08:45:31.477 978 1828 D ActivityManager: Clearing bad pkg: com.gamesMaster.crashMagnet
    09-07 08:45:31.491 978 1828 I ActivityManager: Start proc 30311:com.gamesMaster.crashMagnet/u0a125 for activity com.gamesMaster.crashMagnet/com.unity3d.player.UnityPlayerActivity
    09-07 08:45:31.536 978 1987 D ActivityManager: ActivityManagerService,attachApplication,callingPid = 30311
    09-07 08:45:31.570 978 1987 I ActivityManager: Config changes=480 {0.85 338mcc50mnc en_JM ldltr sw360dp w598dp h336dp 480dpi nrml land finger -keyb/v/h -nav/h suim:1 s.79}
    09-07 08:45:31.654 978 1519 W ActivityManager: Force finishing activity com.gamesMaster.crashMagnet/com.unity3d.player.UnityPlayerActivity
    09-07 08:45:31.897 978 3076 I ActivityManager: Process com.gamesMaster.crashMagnet (pid 30311) has died
    09-07 08:45:31.976 978 3076 I ActivityManager: Config changes=480 {0.85 338mcc50mnc en_JM ldltr sw360dp w360dp h580dp 480dpi nrml port finger -keyb/v/h -nav/h suim:1 s.80}
    09-07 08:45:33.005 978 1828 D ActivityManager: Clearing bad pkg: com.gamesMaster.crashMagnet
    09-07 08:45:33.018 978 1828 I ActivityManager: Start proc 30336:com.gamesMaster.crashMagnet/u0a125 for activity com.gamesMaster.crashMagnet/com.unity3d.player.UnityPlayerActivity
    09-07 08:45:33.060 978 3076 D ActivityManager: ActivityManagerService,attachApplication,callingPid = 30336
    09-07 08:45:33.086 978 3076 I ActivityManager: Config changes=480 {0.85 338mcc50mnc en_JM ldltr sw360dp w598dp h336dp 480dpi nrml land finger -keyb/v/h -nav/h suim:1 s.81}
    09-07 08:45:33.176 978 5271 W ActivityManager: Force finishing activity com.gamesMaster.crashMagnet/com.unity3d.player.UnityPlayerActivity
    09-07 08:45:33.595 978 3076 I ActivityManager: Process com.gamesMaster.crashMagnet (pid 30336) has died
    09-07 08:45:33.621 978 3076 I ActivityManager: Config changes=480 {0.85 338mcc50mnc en_JM ldltr sw360dp w360dp h580dp 480dpi nrml port finger -keyb/v/h -nav/h suim:1 s.82}


    it says "Clearing bad pkg: com.gamesMaster.crashMagnet" I don't understand. Really need help with this.
     
  2. orrinjones

    orrinjones

    Joined:
    Jan 14, 2017
    Posts:
    8
    The problem was I had migrated my project to a different folder and forgot to setup the play games services. The solution was to go to windows>googleplaygames>setup>android/ios
     
  3. tmendez

    tmendez

    Joined:
    Oct 12, 2015
    Posts:
    39
    Unfortunately setting up the play games services again doesn't work for me