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

Forced termination for some devices (ANR). Please help.

Discussion in 'Android' started by ken_kentan, Dec 9, 2014.

  1. ken_kentan

    ken_kentan

    Joined:
    Feb 19, 2014
    Posts:
    4
    Development environment:Xperia A , Xperia Arc
    Termination device:Xperia ZL2 (Android 4.4), some devices

    Error report:
    ANR Input dispatching timed out (Waiting because the touched window has not finished processing the input events that were previously delivered to it.)
     com.jp.ken_kentan.super_cube_3d/com.unity3d.player.UnityPlayerNativeActivity
    more detail >http://www.k-iec.jp/upload/error_report.txt

    Conditions:
    1. Pushed the [Data],[Play],[Level Select] in Home scene.
    2. Load scene of the level 0.
    3. Pushed the [Reset] in Setting scene.

    Source code(C#):
    1-2.http://www.k-iec.jp/upload/HomeUI_Manager.cs
    3.http://www.k-iec.jp/upload/Setting.cs

    App:
    https://play.google.com/store/apps/details?id=com.jp.ken_kentan.super_cube_3d

    (written by japanese student...)
     
    Last edited: Dec 9, 2014
  2. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Intresting error..
     
  3. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
    Which version of Unity are you using? There have been bug fixes to the code that should avoid ANRs in various 4.5.x releases.
     
  4. ken_kentan

    ken_kentan

    Joined:
    Feb 19, 2014
    Posts:
    4
    I'm using the Unity 4.6.0b17.
     
  5. BlackPanda

    BlackPanda

    Joined:
    Jan 24, 2014
    Posts:
    78
    Hey did you find solution to this?? I'm using 4.6.0f1.
     
  6. ken_kentan

    ken_kentan

    Joined:
    Feb 19, 2014
    Posts:
    4
  7. BlackPanda

    BlackPanda

    Joined:
    Jan 24, 2014
    Posts:
    78
    Well.. that's a bummer.! I've also a crash bug when my app is run on Android 5. This issue is supposed to be solved in 4.6.1p2 :confused: (I'm still testing it). Does our bug reappear in that patch??
     
  8. DarkCooker

    DarkCooker

    Joined:
    Jan 7, 2015
    Posts:
    119
    Does it fix your issue?
    Thanks
     
  9. BlackPanda

    BlackPanda

    Joined:
    Jan 24, 2014
    Posts:
    78
    I'm sorry I lost touch with that project as it was some time ago. I will keep you posted after some search.