Maximum shader keywords exceeded

After converting my project to the LP, I get this error:

I never had this error in my project before. How do I fix it?

The famous shader keywords exceeded error :hushed:

1 Like

This issue related to SRP (I assume you say convert to lightweight project) should be fixed in b4 + latest github master (so not in Template or a tagged release). We were using ToggleOff in .shader a bit everywhere which where creating unecessary keyword. This have been replace in b4 by ToggleUI that don’t generate keyword. You will need to be patient to get the fix in a Template but this shouldn’t hurt you case of LW.

Ok, thanks.

The issue is still present in b6.

You still need a new LW pipeline for it from github.

1 Like

I have that one. I think the problem is that the git SRP comes with too many examples with too many shader variants. The problem goes away when I delete all examples.

1 Like

Have this problem as well and not even using SRP yet.
This problem completely kills projects using several asset store shader products.
Happening for me in b7

2 Likes

try getting it from the hub instead, worked for me

Indeed, probably because its beta. its not meant to work with anything asset store yet.