Here is my old post that fixed a similar problem for another person
It was so long ago I forgot I found a solution for it.
If that doesn’t help then maybe this thread could be a fix. the OP had to turn on an encryption setting for ini files for it to not throw the permutation error on a the shader. It was his own shader but the error message itself seems to mirror what you are getting, so it might work.
The ini setting seems to be in project settings => Crypto