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
- 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
Add comment