Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
0
Question by Aishwarya_Garg · Dec 22, 2014 at 04:00 PM · androidmobileclosesomething

why my Unity Android game close at random time after start on some devices.

I am developing a android game using unity. It workes properly when i use unity remote for testing.But when I build and run the game on the same device which i was using with remote,the game stops working and closes at random time.

these happens only with some devices ie Motog and Motog2, while with other device ie Motoe, Samsung duos it workes properly.

please help.

Comment
Add comment · Show 2
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 meat5000 ♦ · Dec 22, 2014 at 12:22 PM 0
Share

Android is killing the app to save on resources, perhaps.

Check LogCat for crash/error information.

avatar image Aishwarya_Garg · Jan 02, 2015 at 10:30 AM 0
Share

yes you were right,android was killing the app..$$anonymous$$ay be due to large memory requirement..i reduce the size of all textures ..and the problem solve..may be temprory.. is there any permanent solution??

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by 3danimation.pro · Apr 24, 2016 at 11:25 PM

check if there is any exception error too many exception error closes the game on android devices as an instance null reference exception

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 king_opping · Mar 12, 2018 at 04:03 AM 0
Share

hmm maybe this is the solustion, i gonna try this soon.

avatar image king_opping · Jun 22, 2018 at 11:53 AM 0
Share

hi 3danimation.pro, previously i have some (maybe many) errors and i think some of them is null reference, and to remove them i use try and catch block. and now many there is no error showed, but somtime it close by itself. is that a problem to use many try and catch to encounter error?

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Standard Mobile Joysticks are locking up. 0 Answers

accelerometer speed 1 Answer

How do I get Unity to stop making changes to AndroidManifest.xml? 2 Answers

Android Scaling - Yes, googled it. 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