- Home /
ios shader problem
hi all,
i am newbie at unity and i have developed my first game successfully. it works fine in editor but when i export in ios it works fine except one warning. there is bomb effect and it does not work in ios, only black rectangles appears. and it says at xcode logs;
WARNING: Shader Unsupported: 'Custom/Additive_Base' - Pass 'FORWARD' has no vertex shader WARNING: Shader Unsupported: 'Custom/Additive_Base' - All passes removed
as i said it works fine in editor, no error no warning but at ios (iphone 6s with ios 11) i am having shader problem, why?
thanks in advance...
Answer by jeango · Oct 29, 2017 at 03:07 PM
looks like Direct3D doesn’t support some stuff your custom shader is doing. I guess this comes from an asset you’re using. Either the asset provides alternative shaders for iOS or you’ll have to use another asset (or find a shader that does the job but usually there’s a good reason behind the use and f a custom shader).
You can always try to contact the provider of the asset. He might have some solutions to offer.
in fact i tried this tutorial; https://www.youtube.com/watch?v=0YlBinFC9So&t=114s
and it looks very popular, why does not work for me :(
looks like your have to look in the shader forge settings this tutorial is almost 2 years old so some things might not work the same. Here’s something I found that might help you
https://shaderforge.userecho.com/forums/1-feedback/topics/1169-pass-forward-has-no-vertex-shader/
Your answer
![](https://koobas.hobune.stream/wayback/20220612142105im_/https://answers.unity.com/themes/thub/images/avi.jpg)