Search Unity

Pink screen in Android

Discussion in 'Android' started by Kandrbol, Sep 3, 2019.

  1. Kandrbol

    Kandrbol

    Joined:
    Aug 15, 2018
    Posts:
    117
    My game function OK in Unity. OK in WebGL. In Unity Android <DX11> is OK (image4 with my Main menu game).

    But if I build game for Android, download to my phone, I have still pink all screen.

    Reset grafic in Project Setting no helped.

    I use tablet 7" Huawei with Android 6. Unity 2019.1.4f1 (64-bit). I instaled SDK with Android Studio.

    But I dont know maybe some setting. In Canvas or something with SDK?

    Thanks Mirek
     

    Attached Files:

  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,014
    Hi!
    Please check the device logs.
     
  3. Kandrbol

    Kandrbol

    Joined:
    Aug 15, 2018
    Posts:
    117
    Please, can you help me, what it specifically means? I learn Unity and basic C#. But I am not professional programer.
     
  4. Kandrbol

    Kandrbol

    Joined:
    Aug 15, 2018
    Posts:
    117
    If I switch platform to Android, in console write:
    NullReferenceException: Object reference not set to an instance of an object
    UnityEditorInternal.AnimationWindowControl.GetAnimationModeDriver () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:646)
    UnityEditorInternal.AnimationWindowControl.StopPreview () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:428)
    UnityEditorInternal.AnimationWindowControl.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:142)
    UnityEditorInternal.AnimationWindowState.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowState.cs:315)
     
  5. Kandrbol

    Kandrbol

    Joined:
    Aug 15, 2018
    Posts:
    117
    But in Unity all function. And in build in console is not problem.
     
  6. Kandrbol

    Kandrbol

    Joined:
    Aug 15, 2018
    Posts:
    117
    Now I have news in console:
    Failed getting available Android API levels. Make sure your android sdk tools version is 25 or higher and you have internet connection. System.Threading.ThreadHelper:ThreadStart()
     
  7. Kandrbol

    Kandrbol

    Joined:
    Aug 15, 2018
    Posts:
    117
    Today I buy new phone HUAWEI for my dad. With android 9. There it function....