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

Linux

-

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)

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed ArgumentException errors being thrown when clicking on the camera settings button on the scene view.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.