Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.1.0a14
Issue ID
1283155
Regression
No
[Terrain Tools] ArgumentException occasionally occurs when attempting to add a layer that's already been added
1. Create a Terrain Object in the scene
2. Add a layer to the Terrain Object
3. Attempt to add the same layer to the Terrain Object
Actual Results: Occasionally there will be an ArgumentException
Expected Results: No Exception would occur
Exception:
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <931b26b61f444e3485195721b0227b20>:0)
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at <931b26b61f444e3485195721b0227b20>:0)
UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <ee59ffdb2ee84322996931dbffc3a33c>:0)
UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUILayoutOption[] options) (at <ee59ffdb2ee84322996931dbffc3a33c>:0)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
- UI Mask Component does not apply correctly when Canvas Render Mode is set to Screen Space - Camera
Add comment