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
- 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
Resolution Note (2022.2.X):
By Design, selection lock only applies when not painting on Terrain objects