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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment