Search Issue Tracker
By Design
Votes
0
Found in
2021.3.15f1
2022.1.24f1
2022.2.1f1
2023.1.0a22
Issue ID
UUM-20518
Regression
No
DrawMeshInstancedProcedural error and a lot of other Shader errors when the TerraWorld package is imported to a project
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
Reproducible with: 2020.3.42f1, 2021.3.15f1, 2022.1.24f1, 2022.2.1f1, 2023.1.0a22
Reproducible on: Windows 10 (21H2)
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&)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
The shader that is being reported in the console (TerraUnity/Standard) does not support URP. It gets replaced by the URP error shader which doesn't support instancing, so the error in the console is legit.