Search Issue Tracker
By Design
By Design in 2023.1.X
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
- Line Brush blue outline appears at incorrect position when painting start of line in Tile Palette
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
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.
Resolution Note (2023.1.X):
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.