Search Issue Tracker
Won't Fix
Fixed in 13.1.3
Votes
0
Found in [Package]
12.1.3
Issue ID
1396628
Regression
Yes
Instanced terrain details with shadergraph shaders dont' render in 2021.2.8f1
Terrain detail prefabs which use shadergraph shaders do not render properly in 21.2.8f1. The details are being rendered in the shadow pass but not the main pass color buffer. This seems to be happening in both forward and deferred rendering. If depth priming is forced on, they do write into the depth buffer.
As far as I can determine this is specific to 8f1 with URP version 12.1.3. The same content works in 21.2.6f1 with URP 12.1.2. 22.1.0b2 / URP 13.1.3 shows the same or a very similar behavior, but in that version there is a control in the Universal Render Data Asset for 'Copy Depth Mode' -- setting that to *After Transparents* produces visually correct results (note - that might not be an ideal workaround ; my minimal repro does not contain transparency shaders).
Attached are screenshots from two versions of the same build -- one working one in 21.2.6f1/URP 12.1.2 and a broken one using 21.2.8f1 / URP 12.1.3
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Looks like this issue affects 2021.2 only.