Shader warning in 'Hidden/Universal Render Pipeline/Terrain/Lit (Base Pass)': Unrecognized #pragma instancing_options directive: norenderinglayer at line 135
I keep getting URP shader warnings like this when I rebuild my game. There's only 6, and they don't stop the game from building, but I'd like to correct the issue to assure myself that I won't have further problems later down the line.
I don't know much about pragma statements other than that they're for the compiler right? So could this indicate that I have my project setup incorrectly or a project setting needs changing? I did search for the term 'instancing_options' on Unity forums and it is a recognized pragma, so I'm unsure why it doesn't recognise it. I upgraded my project from built-in/SRP to URP, could this be the issue, did I do something wrong?
I'm building for Windows Intel 64-bit currently.
↧