[5.3.5p3] crash at DrawBuffers (GfxDeviceGLES.cpp:1496)

update 2016/06/18:

  • still crash on 5.3.5p3
  • only crash on device using API OPENGL ES2/3(version below iphone5s), device using metal API never crashes
  • you can view the realtime crash stats on my APP testing share at http://crashes.to/s/8c40f693fb6
  • is on the device without XCode launching
  • dynamic batching is enabled

Hi there,

we have a randomly crash on iOS device with the newest version of unity.

Is anybody know how does the crash occurs?

detail stack information as below:

Is it happening on device running on A9 chip? If that’s the case I would recommend switching to Metal gfx API.

the problem is on iPAD4(ios8.1 or 8.3)

I’m sorry but how to switch to Metal gfx API?

and another crash seems on Metail gfx on any iOS device…

iOS 8.3 had issues with Xcode frame capture, so I would suggest testing if game crashes when being launched without Xcode. If it still crashes, please submit a bugreport.

yes ,it’s crashed without Xcode… but it’s too hard to us to detach the project for submit bug…

Xcode project would be good start for us to start investigation. Thanks!

I will try to detach a project, but would somebody tell me how might the problem happend, and how to avoid this?

I have got a lot of this error on any iOS device and the problem is delaying our version release…

and the crash is still happened after we upgrade to 5.3.5p3

I find the problem only occurs on the device running OPENGL API. (device below iphone5s)

you can view problem detail information on my app test page:
http://bugly.qq.com/share/LZTFz4

this is the crashed device list:

2684157--189717--QQ图片20160618141229.png

and here is the OS version:
2684157--189718--2.png

hi,你这个问题解决了吗?我也遇到这个问题,我qq:364925474,我们交流一下?

I’m also having the GfxDeviceGLES crash on older devices. I’m running Unity 5.3.6. Is there a fix?

Any solution or workaround for that? We have the same problem here?

We are seeeing a big spike in this issue also. Same device characteristics, older iOS devices
It seems to be related to view transitions, or it happens while the unity view is backgrounded.

I can post some more detailed logs if that would help

I’ve got the same problem for some time now. Tried it on multiple versions from unity 5.4.x to 5.6.1p1.
On my iphone 5 test device, the app crashes right after the loading screen. On my friend’s iphone 7, it works with no problems.

I guess a workaround would be to uncheck auto graphics API and remove OpenGLES, leaving only Metal, thus excluding lower end iphones.

For my customers its mainly ipad 2+3 - where the bug appears. So to exclude this devices its not realy possible with an update of an old game.
Any idea which version of unity this BUG started. Maybe 5.1. could work? So maybe a downgrade would help. Sometimes its not fun to develop Unity.

Hi raydekk, did you also try different XCode versions?
What was the latest XCode version you tried?

I tried it with the latest Xcode (8.3.2 I think) and maybe a lower version, but still 8.x

Do you use the latest OS - Sirra - maybe it’s a problem with el capitan?

latest mac osx as well