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

4.6.1 hangs, when staring an empty project

Discussion in 'Android' started by mikhail111777, Dec 10, 2014.

  1. mikhail111777

    mikhail111777

    Joined:
    Feb 8, 2013
    Posts:
    84
    I've just upgraded to 4.6.1 and can't run anything, even an empty project. Nothing happens when I run it, until I tap the screen and get ANR. I managed to get a thread dump:

    "<1> main@830016443584" prio=5 runnable
    java.lang.Thread.State: RUNNABLE
    at com.unity3d.player.NativeLoader.load(Unknown Source:-1)
    at com.unity3d.player.UnityPlayer.a(Unknown Source:-1)
    at com.unity3d.player.UnityPlayer.<init>(Unknown Source:-1)
    at com.unity3d.player.UnityPlayerNativeActivity.onCreate(Unknown Source:-1)
    at com.test.test.MainActivity.onCreate(MainActivity.java:18)
    at android.app.Activity.performCreate(Activity.java:4509)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1050)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2041)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)

    I have the latest Android SDK:
    SDK Tools 24
    Platform tools 21
    Build tools 21.1.1
    SDK level 21
    Java 1.7.0_71

    The test device is Lenovo A800
    Android version 4.0.4
     
  2. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
  3. mikhail111777

    mikhail111777

    Joined:
    Feb 8, 2013
    Posts:
    84
    I see, let me know if I can help somehow.

    This is an old and slow device almost ideal for testing Unity games for Android. Everything was working fine until I updated to 4.6.1

    When I enable developer build I also see some output to the device log (strings like developer mode on, etc.); but then it hangs.
     
  4. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
  5. mikhail111777

    mikhail111777

    Joined:
    Feb 8, 2013
    Posts:
    84
    Yes, it worked. Thank you.
     
  6. mikhail111777

    mikhail111777

    Joined:
    Feb 8, 2013
    Posts:
    84
    Unity 5 beta 18 has the same issue.
     
  7. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
    Fix is in beta 19.