Purple Shaders


I built a project where certain textures are dynamically loaded onto planes and stacked into a cube, and it works fine in the editor. However, when I build the project as a standalone or web player, all of the textures turn bright purple. I have no idea why.

Pink pixels usually means that the shader does not run on the card, or the shader could not be compiled. Do you get any warnings/errors in the log? (Put another way, a pink shader is used when Unity cannot use the shader you supplied, it’s meant to be a visual way of saying “something went wrong”.)

I fixed it, Thank you.

I played around with the shaders. Instead of the one I was using, I used “Particles/Alpha Blended Premultiply,” which seemed to work.