Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jan 27, 2015 at 02:31 AM by meat5000 for the following reason:

Problem is outdated with an Update.

avatar image
2
Question by bobthefish · Dec 20, 2014 at 04:57 PM · androidbug

Android freeze on load (black screen with title)

Even with an empty project (just the default settings and objects), I'm getting a lock up when I launch the game on Android 2.3.7. This lock up continues until I am given the option for Force close (if I try to press some of the hardware buttons). The game runs with no problems at all on Android 4.3. I am using Unity 4.6.1f1.

I have tried turning on/off the 32/24 bit buffers. Any more ideas would be very much appreciated. Thanks!

The abridged output from adb logcat is:

         I/ActivityManager(  166): Start proc com.sifnt.androidtest for activity  com.sifnt.androidtest/com.unity3d.player.UnityPlayerNativeActivity: pid=2668 uid=10073 gids={3003, 1015}
         I/AndroidRuntime( 2660): NOTE: attach of thread 'Binder Thread #3' failed W/ActivityManager(  166): Launch timeout has expired, giving up wake lock!
         W/ActivityManager(  166): Activity idle timeout for HistoryRecord{407edd10 com.sifnt.androidtest/com.unity3d.player.UnityPlayerNativeActivity}
         I/InputDispatcher(  166): Application is not responding: AppWindowToken{408945b0 token=HistoryRecord{407edd10 com.sifnt.androidtest/com.unity3d.player.UnityPlayerNativeActivity}}.    5004.9ms since event, 5004.0ms since wait started
         I/WindowManager(  166): Input event dispatching timed out sending to application AppWindowToken{408945b0 token=HistoryRecord{407edd10 com.sifnt.androidtest/com.unity3d.player.UnityPlayerNativeActivity}}
         E/ActivityManager(  166): ANR in com.sifnt.androidtest (com.sifnt.androidtest/com.unity3d.player.UnityPlayerNativeActivity)
         E/ActivityManager(  166): Reason: keyDispatchingTimedOut

And the traces (I don't know what any of this means but it might be useful to someone):

 Cmd line: com.android.systemui
 
 DALVIK THREADS:
 (mutexes: tll=0 tsl=0 tscl=0 ghl=0 hwl=0 hwll=0)
 "main" prio=5 tid=1 NATIVE
   | group="main" sCount=1 dsCount=0 obj=0x4011b1a0 self=0xce60
   | sysTid=243 nice=0 sched=0/0 cgrp=default handle=-1345002432
   | schedstat=( 15186370656 30411987509 23189 )
   at android.os.MessageQueue.nativePollOnce(Native Method)
   at android.os.MessageQueue.next(MessageQueue.java:119)
   at android.os.Looper.loop(Looper.java:117)
   at android.app.ActivityThread.main(ActivityThread.java:3835)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:507)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
   at dalvik.system.NativeStart.main(Native Method)
 
 "Binder Thread #3" prio=5 tid=12 NATIVE
   | group="main" sCount=1 dsCount=0 obj=0x4069e1b0 self=0x3036b0
   | sysTid=2518 nice=0 sched=0/0 cgrp=default handle=3154344
   | schedstat=( 37139897 44860842 198 )
   at dalvik.system.NativeStart.run(Native Method)
 
 "SystemUI UsbStorageActivity" prio=5 tid=11 NATIVE
   | group="main" sCount=1 dsCount=0 obj=0x406e7170 self=0x2456f8
   | sysTid=1573 nice=0 sched=0/0 cgrp=default handle=1332176
   | schedstat=( 3326414 10833739 17 )
   at android.os.MessageQueue.nativePollOnce(Native Method)
   at android.os.MessageQueue.next(MessageQueue.java:119)
   at android.os.Looper.loop(Looper.java:117)
   at android.os.HandlerThread.run(HandlerThread.java:60)
 
 "SystemUI UsbStorageActivity" prio=5 tid=10 NATIVE
   | group="main" sCount=1 dsCount=0 obj=0x406113a8 self=0x1dcad8
   | sysTid=1007 nice=0 sched=0/0 cgrp=default handle=1964128
   | schedstat=( 3662111 40069579 20 )
   at android.os.MessageQueue.nativePollOnce(Native Method)
   at android.os.MessageQueue.next(MessageQueue.java:119)
   at android.os.Looper.loop(Looper.java:117)
   at android.os.HandlerThread.run(HandlerThread.java:60)
 
 "SystemUI StorageNotification" prio=5 tid=9 NATIVE
   | group="main" sCount=1 dsCount=0 obj=0x40659568 self=0x14fda0
   | sysTid=281 nice=0 sched=0/0 cgrp=default handle=1374880
   | schedstat=( 39184576 268554685 191 )
   at android.os.MessageQueue.nativePollOnce(Native Method)
   at android.os.MessageQueue.next(MessageQueue.java:119)
   at android.os.Looper.loop(Looper.java:117)
   at android.os.HandlerThread.run(HandlerThread.java:60)
 
 "Binder Thread #2" prio=5 tid=8 NATIVE
   | group="main" sCount=1 dsCount=0 obj=0x4060adf8 self=0x94ad8
   | sysTid=251 nice=0 sched=0/0 cgrp=default handle=972608
   | schedstat=( 765838615 296295165 2557 )
   at dalvik.system.NativeStart.run(Native Method)
 
 "Binder Thread #1" prio=5 tid=7 NATIVE
   | group="main" sCount=1 dsCount=0 obj=0x4060a0a0 self=0x93e00
   | sysTid=250 nice=0 sched=0/0 cgrp=default handle=541840
   | schedstat=( 757751473 296966549 2555 )
   at dalvik.system.NativeStart.run(Native Method)
 
 "Compiler" daemon prio=5 tid=6 VMWAIT
   | group="system" sCount=1 dsCount=0 obj=0x40609100 self=0x934c0
   | sysTid=249 nice=0 sched=0/0 cgrp=default handle=967896
   | schedstat=( 1102081303 679595948 3873 )
   at dalvik.system.NativeStart.run(Native Method)
 
 "JDWP" daemon prio=5 tid=5 VMWAIT
   | group="system" sCount=1 dsCount=0 obj=0x40609050 self=0x92b80
   | sysTid=248 nice=0 sched=0/0 cgrp=default handle=966912
   | schedstat=( 366210 31372071 9 )
   at dalvik.system.NativeStart.run(Native Method)
 
 "Signal Catcher" daemon prio=5 tid=4 RUNNABLE
   | group="system" sCount=0 dsCount=0 obj=0x40608f90 self=0x901b0
   | sysTid=247 nice=0 sched=0/0 cgrp=default handle=971608
   | schedstat=( 13244628 100982666 42 )
   at dalvik.system.NativeStart.run(Native Method)
 
 "GC" daemon prio=5 tid=3 VMWAIT
   | group="system" sCount=1 dsCount=0 obj=0x40608ee8 self=0xee168
   | sysTid=246 nice=0 sched=0/0 cgrp=default handle=967736
   | schedstat=( 226287841 464385990 133 )
   at dalvik.system.NativeStart.run(Native Method)
 
 "HeapWorker" daemon prio=5 tid=2 VMWAIT
   | group="system" sCount=1 dsCount=0 obj=0x40608e30 self=0xed7f8
   | sysTid=244 nice=0 sched=0/0 cgrp=default handle=972248
   | schedstat=( 199066155 127288823 173 )
   at dalvik.system.NativeStart.run(Native Method)

Comment
Add comment · Show 25
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image fafase · Dec 20, 2014 at 05:37 PM 0
Share

I would think the version is too old. You could check the manifest for target number.

avatar image meat5000 ♦ · Dec 22, 2014 at 07:29 PM 1
Share

What is OpenGl Support like on older Android APIs? Just curious.

Also, have you attempted to implement a Wake Lock?

avatar image bobthefish · Dec 23, 2014 at 02:18 AM 2
Share

Ok I have submitted a bug report. I will submit an answer here if/when I hear more about it.

@Rodakai, try installing Unity 4.5.5 to see if that fixes it. You can download old versions of Unity from here: http://unity3d.com/unity/download/archive

avatar image randydots · Dec 26, 2014 at 11:23 AM 2
Share

This topic really really helped me out. I am being stuck by this issue for almost one week. The unity 4.6.1f has this bug. After patch the UnitySetup_update-4.6.1p2, it works fine.

avatar image llMarty · Dec 27, 2014 at 07:17 PM 2
Share

I had the same issue. Thanks to randydots installing the "Patch 4.6.1p2" from http://unity3d.com/unity/qa/patch-releases solved the issue.

avatar image MBaldowski llMarty · Jan 27, 2015 at 01:44 AM 0
Share

This worked for me, I updated to 4.6.1p5.

Show more comments

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

black screen after the first play on android 0 Answers

Android Tab 3 (7 inch) Skybox issue 1 Answer

Photon networking doesn't sync 0 Answers

Black sprites and blinking animations - Android 1 Answer

resource repackage failed andriod 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges