Shader error in 'Universal Render Pipeline/Unlit': The DOTS_INSTANCING_ON

,

Hello.

Shader error in ‘Universal Render Pipeline/Unlit’: The DOTS_INSTANCING_ON keyword requires shader model 4.5 or greater (“#pragma target 4.5” or greater).
at /Work/UnityProj/IdleBuildementMono/Library/PackageCache/com.unity.render-pipelines.core@12.1.8/ShaderLibrary/UnityInstancing.hlsl(50)


(Screenshot the file Universal Render Pipeline/Unlit.Shader)

I understand what the bug is. But the bug come from Unlit.Shader of package Universal Render Pipeline.
Now I am not able to build the project because of this.

Context detail:

  • Unity version: 2021.3.14f1
  • Package: Universal RP 12.1.8

Computer specs (if needed)

  • Mobo: Gigabyte B660M
  • CPU: Intel Core i5 13400F
  • RAM: 64GB
  • SSD: 1TB
  • Wifi: Intel AX210

How to surpass this bug?

Thank you very much!

Yesterday I was not able to build the project. I’d even closed then reopened the Unity; then I turned off the computer. Today I started again but it built successfully. I haven’t change anything. Don’t know why, but it worked anyway…