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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.