I just started trying the Unity Cloud build and my Web build came out solid pink. I recognized that this is the default pink shader used when the shader has an error. All the shaders in my game are custom so it makes sense that the entire game is pink. That’s when I really checked the build logs and noticed this error for all of my custom shaders:
[Unity] Shader error in ‘[Custom Shader Here’: D3D11 shader compiler could not be loaded
I’m just confused about what this error means because when I do a Web build locally in Unity everything comes out fine with no errors.
Anyone have any idea what this means and how I can fix it? I can post the shader if necessary.
To enable DirectX 11 for your game builds and the editor, set “Use DX11” option in Player Settings. Unity editor needs to be restarted for this to take effect.
Note that DX11 requires Windows Vista or later and at least a DX10-level GPU (preferably DX11-level). Unity editor window title has “” at the end when it is actually running in DX11 mode.
At the time I was using Unity 4.6.1 editor but now I just upgraded to 4.6.2 editor. I believe there is the same error though if DX11 mode is on. In my Unity Cloud settings I have always had it set to “Always Use Latest 4.x (Non Beta)”.