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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment