Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 TheShadyColombian · Oct 12, 2016 at 12:11 AM · c#androidcrash

Random android crashes

(I submitted this to Stack Overflow, but I'm posting it here as it is Unity specific)

A while ago, I published a game for android (made in unity in C#). However, I've been getting many complaints of crashes, and recently I've experienced these crashes myself. I'm using

 adb logcat

to read the logs from the app and the system to try to figure out the cause but it always crashes at a random times; when loading, in the middle of the game, and in the main menu. I've also tried it on a friend's S7 Edge and it works fine. It's not laggy at all on all devices I've tested it, so I know it's not a memory leak or excessive CPU usage.

I don't know what data to share to receive help, so I'll just supply any info that is needed. Link to the app if it is useful: Google Play

Weird little detail: For a while it crashed at start, but then started working again when I added this line of code (which shouldn't alter code as it just prints a string to the console)

 Debug.Log("Sending Analytic Data");


Comment
Add comment · Show 26
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 Bonfire-Boy · Oct 12, 2016 at 12:56 AM 0
Share

You say it crashes at random times, but don't say if there's anything common to the logs. Is there anything at all that suggests "this is when the app crashed"?

avatar image TheShadyColombian Bonfire-Boy · Oct 12, 2016 at 01:03 AM 0
Share

Nope. 100% random. I also added a bunch of Debug.Log()s and it never crashes at a specific place. I've also tried no internet, and logging out of Google Play Games

avatar image Bonfire-Boy TheShadyColombian · Oct 12, 2016 at 01:46 AM 0
Share

So what are the symptoms? How do you know that it's crashing? And how do you know that it's not a memory leak?

Show more comments
avatar image Bonfire-Boy · Oct 13, 2016 at 08:37 AM 0
Share

One other thing I keep forgetting to mention. If you're cross-posting to Stack Overflow I think it makes sense to provide links between them, to help people avoid duplicating/repeating each others efforts to help.

avatar image TheShadyColombian Bonfire-Boy · Oct 13, 2016 at 02:24 PM 0
Share

No one's really paid any attention to that post, but I'll add it anyway

Edit: It appears the question was put on hold because it's so specific and it wouldn't help anyone else, so I just deleted it.

avatar image Bonfire-Boy TheShadyColombian · Oct 13, 2016 at 02:40 PM 0
Share

Fair enough!

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by OusedGames · Oct 15, 2016 at 06:20 PM

Hello I installed your game and it crashed in less than one minute, I was able to play for 15 seconds and the game idea is pretty nice!! Congrats My phone is a First Gen Moto X


  • I would try to delete any google Related Plugin (Delete from the project!)

  • Make a beta test inside Google, give the link to people with Low End phones

  • And see if the problems continues

  • One big tip is to instead of instantiating each ball, use "Pooling"

  • And

  • If you have time: send an image showing your PNG import settings (UI)

  • Settings of the images you use in your project

Good Luck

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

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

Related Questions

Distribute terrain in zones 3 Answers

display www.texture from url causes crash in some devices 0 Answers

Game crashes after sleep mode in Android 0 Answers

App crashes after splash screen with Google Play Services for AR update (after April 11th 2020) 2 Answers

C# and JavaScript Unstable? 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