Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Can't import shader graph and URP, getting compile errors

Discussion in 'Editor & General Support' started by cooperjbower, Sep 30, 2022.

  1. cooperjbower

    cooperjbower

    Joined:
    Aug 21, 2021
    Posts:
    2
    When I try to import URP in unity version 2021.3.5f1 and it gives me compile errors from the shader graph package.

    The errors:
    Library\PackageCache\com.unity.shadergraph@12.1.7\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\MaterialAssemblyReference\RawRenderQueue.cs(12,24): error CS1061: 'Material' does not contain a definition for 'rawRenderQueue' and no accessible extension method 'rawRenderQueue' accepting a first argument of type 'Material' could be found (are you missing a using directive or an assembly reference?)

    Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGUI/MaterialAssemblyReference/MaterialAssemblyReference.asmref has no meta file, but it's in an immutable folder. The asset will be ignored.

    Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGUI/MaterialAssemblyReference/MaterialAssemblyReference.asmref has no meta file, but it's in an immutable folder. The asset will be ignored.