Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.2
2021.2.9f1
2022.1
2022.2
Issue ID
1405099
Regression
No
Moving to one Terrain while sculpting/painting another affects the first even when it's locked from editing
How to reproduce:
1. Open the attached "case_1405099" project
2. Open the "SampleScene" Scene
3. Select the "Terrain (1)" GameObject in the Hierarchy
4. Select the "Terrain (Component) -> Paint Terrain" tool in the Inspector
5. Paint on the "Terrain" GameObject's Terrain
Expected result: "Terrain" GameObject's Terrain isn't editable
Actual result: Locked "Terrain" GameObject's Terrain is sculpted
Reproducible with: 2019.4.37f1, 2020.3.31f1, 2021.2.16f1, 2022.1.0b13, 2022.2.0a8
Note: It's also reproducible, when:
- HideFlags.HideInInspectorflag is set to the GameObject
- HideFlags.HideInHierarchy is set to the GameObject
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Variable is set to a different value from the selected enum value in the Editor dropdown
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
Resolution Note (2022.2.X):
By Design, selection lock only applies when not painting on Terrain objects