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
- GameObjects change Hierarchy order when undoing adding Component to multiple GameObjects
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
Add comment