Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2019.4
2019.4.30f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1371308
Regression
No
[HDRP][URP] Terrain's material property TreeInstanceColor is only set the first submesh
Reproduction steps:
1. Download and open the attached "TerrainTreeColor.zip" project
2. Open the "TreeInstanceColor" scene
3. In the Hierarchy window, select the "Terrain" GameObject
4. In the Inspector window, select "Paint Trees" > "Tree-Spruce-Dense-Medium"
5. In the Scene window, place one tree submesh close to the camera and one further away
Expected result: Both tree submeshes are rendered identically
Actual result: The tree submesh that is further away from the camera is rendered in a different color
Reproducible with: 7.7.1 (2019.4.31f1), 10.6.0 (2020.3.20f1), 11.0.0 (2021.1.24f1), 12.0.0 (2021.2.0b14), 13.0.0 (2022.1.a011)
Notes: 2020.3 and up, the further tree submeshes are rendered with broken shaders instead,
Also reproducible with URP
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
Add comment