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
0
Question by Ill-Fish · Jul 05, 2016 at 10:20 AM · android3dcrashgpu

Unity5 Android GPU Crash

Hi I'm working on a kind of 3D brick breakoutgame for mobile devices.

After my 3rd day of work it's now happening really often that my testdevice "Huawei P8" is crashing after playing a while. Sometimes also after a few seconds of playing.

For me it seems to be a crash of the GPU. It looks similar to this picture: alt text

If this happens I can't do anything except of waiting. After a few seconds the screen is refreshing and it is possible to continue play.

Now I'm not shure, is this a problem of the Unity version, in my case Unity 5.3.5p6, an optimization problem or simply has my mobile a problem?

This is a screenshot of my game if this might help to analyze the problem: alt text

The most shaders are the standard Unity mobile shader, except the plants. For this I uses the nature leaves shader.

The most objects are static and I use baked light maps.

Thanks in advance Frank

gpucrash.jpg (318.4 kB)
screenshot-2016-07-05-12-04-14.jpg (399.4 kB)
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Ill-Fish · Jul 06, 2016 at 10:19 AM

Seems that the problem was the Mali GPU and texture compression problems. I optimized my plant textures and shaders now for Mali GPU and better mobile performance and now it seems to run fine.

But I will keep an eye on it.

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 berniebresslaw · Jul 11, 2016 at 09:24 AM 0
Share

Hi Ill Fish, Could you detail exactly what it is you changed please? I am having a $$anonymous$$ali GPU crash intermittently on my game and have tried everything including updating to Beta version, reworking shaders etc. Whilst looking into the issue I managed to get a very simple repro case - blank project, default particle system with prewarm using cube particles using inbuilt diffuse shader and just toggling this on/off would cause a crash on $$anonymous$$ali GPU devices (Seems LOTS more common with development build btw) This doesn't occur on beta version, but the crash in my actual game does still occur on the BETA :-( So before I strip down the project to send to Unity, it may be worth trying out your fixes. Any advice appreciated.

avatar image Ill-Fish berniebresslaw · Jul 11, 2016 at 09:42 AM 0
Share

Hi Bernie,

first it seems not to be gone complete, because I got it once more after my optimizations. I found this optimization document, made by AR$$anonymous$$, which is especially made for $$anonymous$$ali GPUs but will also help for optimizing mobile games: AR$$anonymous$$® Guide for Unity Developers

In general you should use mobile shaders for your textures ins$$anonymous$$d of the default shader. Then you should change the texture settings if you use textures with alpha. In my case I have self made plants with alpha textures. this is all described in the document.

I general it's a good thing to optimize the game for mobile, but meanwhile I have the feeling it could be also a bug in Unity ifself. In Unity 5.3.5 I also can't use projectors anymore.

avatar image
0

Answer by berniebresslaw · Jul 11, 2016 at 09:47 AM

Thanks Ill fish - I will double check my settings and let you know how I get on - I have tested with a bunch of shaders - mobile, legacy, latest etc - with little/no difference. There are definitely issues in Unity surrounding the Mali GPU - the sample project I produced was confirmed to cause a crash by Unity themselves, but not on their BETA. My full project still crashes on BETA however. Will let you know how I get on and if I discover anything else.

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 Ill-Fish · Jul 11, 2016 at 02:08 PM 0
Share

keep me informed, if you get some news about this!

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

95 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

Related Questions

Unity 3d Network dies on Android 0 Answers

Lerping the Camera closes Nexus 5, not Nexus 10 0 Answers

android app crashes after unity screen (maybe because of AdMob?) 0 Answers

low fps on andriod build even after optimization,Low FPS for android even after lots of optimization 0 Answers

Random crashes in Android build 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