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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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.