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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment