Search Unity

Unity Analytics, Android 5 problem

Discussion in 'Unity Analytics' started by Dykaios, Feb 3, 2015.

  1. Dykaios

    Dykaios

    Joined:
    Mar 26, 2014
    Posts:
    2
    Hi, I having an issue with Android 5 Lollipop, the issue is that when install the game on a device with Lollipop, the application start, show powered by Unity screen, show next screen, and come back again to powered by Unity screen.

    Logcat its showing this error:

    Code (CSharp):
    1. 02-03 11:43:46.681: E/ActivityThread(437): Performing stop of activity that is not resumed: {com.example.example/com.unity3d.player.UnityPlayerProxyActivity}
    2. 02-03 11:43:46.681: E/ActivityThread(437): java.lang.RuntimeException: Performing stop of activity that is not resumed: {com.example.example.Oorgh/com.unity3d.player.UnityPlayerProxyActivity}
    3. 02-03 11:43:46.681: E/ActivityThread(437):     at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3309)
    4. 02-03 11:43:46.681: E/ActivityThread(437):     at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3390)
    5. 02-03 11:43:46.681: E/ActivityThread(437):     at android.app.ActivityThread.access$1100(ActivityThread.java:144)
    6. 02-03 11:43:46.681: E/ActivityThread(437):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
    7. 02-03 11:43:46.681: E/ActivityThread(437):     at android.os.Handler.dispatchMessage(Handler.java:102)
    8. 02-03 11:43:46.681: E/ActivityThread(437):     at android.os.Looper.loop(Looper.java:135)
    9. 02-03 11:43:46.681: E/ActivityThread(437):     at android.app.ActivityThread.main(ActivityThread.java:5221)
    10. 02-03 11:43:46.681: E/ActivityThread(437):     at java.lang.reflect.Method.invoke(Native Method)
    11. 02-03 11:43:46.681: E/ActivityThread(437):     at java.lang.reflect.Method.invoke(Method.java:372)
    12. 02-03 11:43:46.681: E/ActivityThread(437):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
    13. 02-03 11:43:46.681: E/ActivityThread(437):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
     
  2. Dykaios

    Dykaios

    Joined:
    Mar 26, 2014
    Posts:
    2
    The issue its with Unity Analytics, I remove it and the game works fine.
     
  3. sschan

    sschan

    Moderator

    Joined:
    Oct 8, 2014
    Posts:
    87
    Hi @Dykaios,
    We are looking into your issue and will get back to you shortly with a response.
     
  4. kentunity

    kentunity

    Unity Technologies

    Joined:
    Sep 16, 2014
    Posts:
    55
    Hello @Dykaios

    Could you give us more details on what Device, version of Unity, exact version of Android Lollipop.
    And could you try creating an empty project with just our Analytics SDK and test it on your device?
    The stack trace isn't that very helpful in this case because it doesn't have a line that points to our SDK directly.
     
  5. erfan

    erfan

    Joined:
    Dec 21, 2012
    Posts:
    7
    HI, I have Nexus 7 . with android 5.
    I have exact problem.
     
  6. kentunity

    kentunity

    Unity Technologies

    Joined:
    Sep 16, 2014
    Posts:
    55
    Hi @erfan

    What Unity version and Analytics SDK version are you using?
    (You can get the SDK version in your Unity project under /Assets/Plugins/UnityAnalytics/Version)
    Could you also try this in an empty project with just our SDK?