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

Maximum number (256) of shader keywords exceeded #13

Closed
Peaj opened this issue Oct 26, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@Peaj
Copy link

commented Oct 26, 2018

There seem to bee too many shader keywords in the project as I am getting alot of these errors:
Maximum number (256) of shader keywords exceeded, keyword _DISTORTIONDEPTHTEST_OFF will be ignored.
Also everything is white when starting Level_01 in editor playmode.
I assume this could be a result of failed shader compilation?

@hayes87

This comment has been minimized.

Copy link

commented Oct 26, 2018

Try restarting unity, it worked for me

@Peaj

This comment has been minimized.

Copy link
Author

commented Oct 26, 2018

You are right. The error messages went away after the restart, Still seems suspicious to me as shader keywords wouldnt magically vanish would they?

@pandr

This comment has been minimized.

Copy link
Collaborator

commented Nov 5, 2018

This is a known issue and unfortunately there is no other fix than the workaround of restarting Unity right now. (It is a Unity limitation and I believe a fix is underway but I don't know the timeframe).

@pandr pandr closed this Nov 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.