Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

null shader issue #1

Open
plaidpants opened this issue Dec 1, 2019 · 0 comments
Open

null shader issue #1

plaidpants opened this issue Dec 1, 2019 · 0 comments

Comments

@plaidpants
Copy link

plaidpants commented Dec 1, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant