You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see how public Shader shader; ever gets set. The editor script hides this variable and it cannot be set to the SENaturalBloomAndDirtyLens.shader. When OnEnable() is called the new Material(shader) always gives an exception because shader is null and then the rest of the code falls down after that. If I manually set the shader to SENaturalBloomAndDirtyLens.shader everything works. I suspect previously created cameras have the variable set correctly and that's why the demo scene still works.
The text was updated successfully, but these errors were encountered:
I don't see how public Shader shader; ever gets set. The editor script hides this variable and it cannot be set to the SENaturalBloomAndDirtyLens.shader. When OnEnable() is called the new Material(shader) always gives an exception because shader is null and then the rest of the code falls down after that. If I manually set the shader to SENaturalBloomAndDirtyLens.shader everything works. I suspect previously created cameras have the variable set correctly and that's why the demo scene still works.
The text was updated successfully, but these errors were encountered: