Search Unity

Maximum number of shader keywords exceeded?

Discussion in 'FPS.Sample Game' started by Idodi1337, Dec 23, 2018.

  1. Idodi1337

    Idodi1337

    Joined:
    Jul 7, 2014
    Posts:
    11
    Hi,

    Just cloned the project and opened in Unity version 2018.3.0f2

    I'm receiving the following errors in Console and wondering if this is OK

    upload_2018-12-23_11-43-38.png
     
  2. Idodi1337

    Idodi1337

    Joined:
    Jul 7, 2014
    Posts:
    11
    I actually just found this note following the 'Opening the project for the first time' in GitHub:

    NOTE: Due to a limitation in Unity 2018.3, you have to look out for errors like this Maximum number (256) of shader keywords exceeded, keyword <KEYWORD_NAME> will be ignored. and similar. If you get these, you can close and open Unity and then try and build again. The errors are relatively harmless but can lead to graphical artifacts as some shaders will have wrong keywords.

    I guess this answers my question
     
  3. sordidlist

    sordidlist

    Joined:
    Sep 2, 2012
    Posts:
    86
    Thanks MrCakePie, restarting Unity did indeed fix this issue for me.
     
    ncortiz likes this.