Unity Issue Tracker - DrawMeshInstancedProcedural error and a lot of other Shader errors when the TerraWorld package is imported to a project
Closed
UUM-20518
DrawMeshInstancedProcedural error and a lot of other Shader errors when the TerraWorld package is imported to a project
Unity: Shader System
Won't Fix
2023.1.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
The code producing the error has been backported to 2021.3, not to 2020.3
Reproduction steps:
Open the attached “My project (1).zip“ project
Observe the Console window
Expected result: No errors are present in the Console window
Actual result: A lot of errors, which are noted below in the Errors section, are present in the Console window
Note: If the "TerraWorld is going to import the package and set needed settings automatically" prompt pops up, select “OK”
Errors:
Shader properties can't be added to this global property sheet. Trying to add _RefractionTex (type 4 count 1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Shader properties can't be added to this global property sheet. Trying to add _RefractionTex_ST (type 2 count 1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Shader properties can't be added to this global property sheet. Trying to add _RefractionTex_TexelSize (type 2 count 1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Shader properties can't be added to this global property sheet. Trying to add _RefractionTex_HDR (type 2 count 1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
DrawMeshInstanced does not support the shader 'TerraUnity/Standard' because it does not read any instanced properties. Try switching to DrawMeshInstancedProcedural if the shader is doing procedural instancing.
Shader error in 'InjectLightingAndDensity': undeclared identifier 'Attenuation' at kernel CSMain at InjectLightingAndDensity.compute(331) (on d3d11)
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?