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 /
avatar image
1
Question by Wuzseen · Feb 26, 2014 at 01:55 AM · androidcrashsplash-screen

Crash on Android

I've been having an issue where Android builds of my project crash shortly after the Unity logo disappears and my first scene loads.

The first sign that something is strange is the unity logo itself--it seems scaled down and much smaller than it usually is. It then does indeed load and render some of my game and then crashes.

I ran it with logcat giving me a look and got these errors:

 02-25 20:51:01.834: W/ActivityManager(685):   Force finishing activity com.sweetroll.galactikitties/com.unity3d.player.UnityPlayerNativeActivity
 02-25 20:51:01.854: W/InputDispatcher(685): channel '41fc3868 com.sweetroll.galactikitties/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
 02-25 20:51:01.854: E/InputDispatcher(685): channel '41fc3868 com.sweetroll.galactikitties/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
 02-25 20:51:01.854: W/InputDispatcher(685): Attempted to unregister already unregistered input channel '41fc3868 com.sweetroll.galactikitties/com.unity3d.player.UnityPlayerNativeActivity (server)'
 02-25 20:51:01.854: I/WindowState(685): WIN DEATH: Window{41fc3868 u0 com.sweetroll.galactikitties/com.unity3d.player.UnityPlayerNativeActivity}
 02-25 20:51:01.864: I/WindowManager(685): Screenshot Window{41fc3868 u0 com.sweetroll.galactikitties/com.unity3d.player.UnityPlayerNativeActivity EXITING} was all black! mSurfaceLayer=21130 minLayer=21130 maxLayer=21130
 02-25 20:51:02.084: I/ActivityManager(685): Process com.sweetroll.galactikitties (pid 7920) has died.
 02-25 20:51:02.205: I/WindowManager(685): Screen frozen for +227ms due to Window{426a0fd0 u0 Application Error: com.sweetroll.galactikitties}
 

Perhaps the oddest bit is that if I create the build with the dev build checkbox checked off, the game runs just fine (and the logo is the right size and everything)!

I really don't know where to begin with this problem.

I'm testing mainly on a galaxy s3 running android 4.2, though the problem is happening on a couple other devices as well.

iOS, web, and PC builds run just fine.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by Wuzseen · Mar 21, 2014 at 07:56 PM

While using 2d toolkit atlases I had static batching enabled in the build options. This caused a crash on Android.

Comment
Add comment · Show 2 · Share
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 stickandropestudio · Dec 17, 2016 at 05:04 PM 0
Share

Thank you so much!! Would give you 1000 more up votes if I was able to do so :)

avatar image ercion · Jan 01, 2018 at 03:27 PM 0
Share

I wish it would have worked for me too :(

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android Unity game crashed on some devices after splash screen 0 Answers

Unity backbutton crashes while on first scene 0 Answers

Motorola Atrix MB860 crash always after splash screen 0 Answers

Android game crash 2 Answers

Game crashed after display splash screen on android. 1 Answer


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