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
2
Question by shygeek · Nov 20, 2013 at 07:58 AM · androidcrashgame

Game crashes as soon as splashscreen is displayed in android

I've made a game in unity for android. It works perfectly fine in my computer while I play it. The draw call is around 25 and FPS 70, so I don't think that is a problem. Please anyone can assist me with what the problem might be.Thank you in advance

Comment
Add comment · Show 1
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 Nirav-Madhani · Aug 21, 2016 at 04:17 PM 0
Share

CHEC$$anonymous$$ THIS

When Application.Quit () is called on back key, the game finished normally. But trying to execute the app again makes it crash after 5~10 seconds' waiting with black screen.

The log during the waiting is as below: 12-12 17:59:02.918: V/GamesNativeSD$$anonymous$$(3686): Received Activity Stop Event. 12-12 17:59:02.958: V/GamesNativeSD$$anonymous$$(3686): Attached to JV$$anonymous$$ on thread main_dispatch 12-12 17:59:02.958: V/GamesNativeSD$$anonymous$$(3686): Running disconnect operation. 12-12 17:59:08.023: V/GamesNativeSD$$anonymous$$(3686): Detaching from JV$$anonymous$$ on thread main_dispatch

and just after the crash, executing the app again is O$$anonymous$$.

device: Galaxy Note plugin version: GooglePlayGamesPlugin-0.9.10 unity: 4.5.5f1 mac

Do you have any idea? Shouldn't I use Application.Quit() or is there any way to release GamesNativeSD$$anonymous$$ on quitting?

2 Replies

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

Answer by tanoshimi · Nov 20, 2013 at 09:00 AM

Draw calls and FPS are not the reason for a game crashing. They're indications that it may run slowly on certain platforms. If you're running on a mobile device it's far more likely that you're trying to allocate more memory than is available, and the most probable reason for that, in my experience, is because you have too high-resolution textures (for mobile, I rarely exceed 512x512px). Either that or you have, for example, a large terrain object, model with too many tris/verts, uncompressed audio etc.

It could really be any of your game assets, and only you have the capability to debug to find out which. What exactly is in the scene after your splash screen? Do you have any third party components that could be responsible? Did the crash only start occurring recently? What was the last part of the game you changed?

Comment
Add comment · Show 1 · 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 shygeek · Nov 21, 2013 at 09:31 AM 0
Share

It was some bug in my Unity I feel. I ran it on a different PC and it worked like a charm. But I find your answer really useful nonetheless.Thanks tanoshimi

avatar image
0

Answer by ramp · Nov 20, 2013 at 10:01 AM

1.Mentions all scenes in build. 2.After loading splash screen load like Game play scene (as you naming the scene). i think missing the assign of expose variable from Hierarchy to Inspector in the game apps.

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

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

21 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

Related Questions

why game crashes in android but on PC not ? 0 Answers

Android game crash with non-dev build 1 Answer

Android Game Crash On Startup After Updating Unity 0 Answers

Android FPS Crashes After Splash Screen 2 Answers

Game crash after splash screen (Unity Logo showup-than crash) 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