- Home /
Crash on iOS with custom shaders
Hi,
I'm getting an odd behaviour when trying to use custom shaders in Unity 3.5.5 on iOS with Mountain Lion and Xcode 4.4.1. I did a very simple custom toon shader and tried to use it in our game. It works fine in PC or even the Web player, but when trying to get it onto the iPhone or iPad it crashes with a SIGABRT on start (still in the splash screen). There's little to no info that I can gather about the crash.
I've attached a very simple project to show what I mean. Any help I could get working this issue around or fixing it would be much appreciated. I'd say it's a bug in Unity, but it may be just as probable that I've done something wrong with the shader or something iOS doesn't support.
Thanks,
Eduardo
Hi! $$anonymous$$ake sure you are using opengl es 2. make sure you have a fallback shader.
Yeah, I'm sure both things are correct. Particularly the fallback shader thing. Thanks for mentioning it anyway!