I have updated my project from Unity 4.6.2 to Unity 5.0.1 and I’m getting crashes on iPad when I have more than one object in the world with the Mobile/Particles/Additive shader. (The same issue happens for Particles/Additive as well). The game runs fine in the Editor, this only happens on the device. I haven’t tested all of them but this hasn’t happened for any other shader used in the project.
Any help or suggestions would be very much appreciated. I’ve copied the callstack, below.
Thanks.
Thread 1: EXC_BAD_ACCESS (code=1, address=0xfffffff07)
#0 0x00cd5374 in GetBuffer [inlined] at /Users/builduser/buildslave/unity/build/./Runtime/GfxDevice/opengles/DataBuffersGLES.h:37
#1 0x00cd5374 in GetGLName [inlined] at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/BuffersGLES.h:160
#2 0x00cd5374 in SetVertexStateGLES at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/VertexDeclarationGLES.cpp:139
#3 0x00cc676c in DrawBuffers at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp:1508
#4 0x00db9bc4 in DrawChunk at /Users/builduser/buildslave/unity/build/Runtime/Graphics/Mesh/DynamicVBO.cpp:167
#5 0x00dfb55c in EndDynamicBatching at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/GfxDevice.cpp:642
#6 0x00df7908 in RenderDynamicBatch [inlined] at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/BatchRendering.cpp:203
#7 0x00df76b8 in RenderMultipleMeshes at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/BatchRendering.cpp:375
#8 0x00d37e20 in Flush at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderLoops/BatchRenderer.cpp:104
#9 0x00d38968 in PerformRendering at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderLoops/ForwardShaderRenderLoop.cpp:588
#10 0x00d398e4 in DoForwardShaderRenderLoop at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderLoops/ForwardShaderRenderLoop.cpp:1183
#11 0x00d47078 in DoRenderLoop at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderLoops/RenderLoopPrivate.cpp:429
#12 0x00d4dd08 in DoRender at /Users/builduser/buildslave/unity/build/Runtime/Camera/Camera.cpp:1175
#13 0x00d4e490 in Render at /Users/builduser/buildslave/unity/build/Runtime/Camera/Camera.cpp:1833
#14 0x00d7fb5c in RenderCameras at /Users/builduser/buildslave/unity/build/Runtime/Camera/RenderManager.cpp:111
#15 0x00e9cc04 in PlayerRender at /Users/builduser/buildslave/unity/build/Runtime/Misc/Player.cpp:1488