Search Unity

Maximum number of shader keywords exceeded?

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

  1. MrCakePie

    MrCakePie

    Joined:
    Jul 7, 2014
    Posts:
    6
    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. MrCakePie

    MrCakePie

    Joined:
    Jul 7, 2014
    Posts:
    6
    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. growling_egg

    growling_egg

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