Shader build error - Pink on export
Builds are turning Pink on Valve VR standard shader (and other lab shaders)
Previously I've been using 5.4.0p1, and recently got an error:
http://i.imgur.com/HGruBq2.png
Is there a known bug here? A known fix?
I've seen previously that using 'additive' does the same, however I am not using additive and actually even on a new scene with nothing in it it still occurs, which leads me to believe the shader is at fault
EDIT: Ok... problem solved perhaps. I commented out the entire IF statement surrounding the bug and it appears to work. As I have no real idea what it does (not really) I don't know if this breaks anything else... but for now I'm happy.
It flips the normal direction of double sided materials. Commenting out this code makes solid double sided objects look strange. Ironically, it works well with leafs making them look translucent.
Commenting it out seems to work, strangely, but I guess I'll keep an eye out for issues