I have added the built in Edge DetectNormals Image effect to my camera scene. It is working perfectly in the Unity editor, but it is not working in the Build (standalone), I get this error in the output log:
Missing shader in FPSCamera (EdgeDetectEffectNormals)
(Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)
NullReferenceException: Object reference not set to an instance of an object
at EdgeDetectEffectNormals.OnRenderImage (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) [0x00000] in :0
(Filename: Line: -1)
But the Image effect component is correctly attached to my camera and as I said it is working Ok in the editor. I think it is an Unity bug.
Any idea?
I have Unity Pro 4.1.5