Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2021.1.0a2
Issue ID
1286300
Regression
Yes
[Linux] [SceneCamera] ArgumentException thrown on clicking "Settings for Scene View Camera" in the Scene View
On Clicking "Settings for Scene view camera" in Scene Window Editor thrown ArgumentException. refer to the attached video.
Steps to repro:
1. Create a new Project.
2. Scene> "Settings for Scene view camera" > Click
Actual Result:
ArgumentException is thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2021.1.0a2
Working Fine in:
2021.1.0a1
Environment: Ubuntu 18.04 LTS
Stack trace:
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at /home/bokken/buildslave/unity/build/Modules/IMGUI/LayoutGroup.cs:129)
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUILayoutUtility.cs:309)
UnityEngine.GUILayout.BeginScrollView (UnityEngine.Vector2 scrollPosition, System.Boolean alwaysShowHorizontal, System.Boolean alwaysShowVertical, UnityEngine.GUIStyle horizontalScrollbar, UnityEngine.GUIStyle verticalScrollbar, UnityEngine.GUIStyle background, UnityEngine.GUILayoutOption[] options) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUILayout.cs:360)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.1):
Fixed ArgumentException errors being thrown when clicking on the camera settings button on the scene view.