Search Issue Tracker
Not Reproducible
Votes
0
Found in
2020.1.0a14
2021.2.0b7
Issue ID
1358622
Regression
No
[Terrain] [Built-In] Undo/Redo with 5+ Layers will cause black rendering
On the Built-In Render pipeline, when you paint 5+ textures onto your Terrain, remove layers till you're back down to 4 or less, then trigger the Undo and Redo actions, some Terrain layers will render black.
Repro Steps:
1. Install Unity version 2022.1.0a5
2. Import the Terrain Tools Sample assets
3. Paint 5 layers of textures onto your Terrain
4. Trigger the Undo action till there are no more paint actions.
5. Continue Undo'ing actions till you only have 2 layers on the Terrain
5. Trigger the Redo action till you cannot anymore
Actual Results:
Black textures will render on the Terrain where some layers used to be
Expected Results:
Only Texture Layers currently assigned to the Terrain would render.
Reproduced on: 2021.2.0b7, 2022.1.0a5
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