Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.0.71f1

6000.3.12f1

6000.4.1f1

6000.5.0b1

6000.6.0a1

Issue ID

UUM-137605

Regression

No

Disabling all columns in Light Explorer throws “ArgumentException” error in the Console window

Lighting

-

Steps to reproduce:
1. Create new Unity project
2. Open Light Explorer window (Window > Rendering > Light Explorer)
3. Right-click on any column
4. Disable everything from the dropdown (Enabled, Name, Type, Shape, Mode, Color, Range, Intensity, Indirect Multiplier, Shadows)
5. Observe Console window after unchecking “Shadows” from the dropdown 

Actual results: “ArgumentException” error is thrown in the Console window
Expected results: No errors thrown in the Console window

Reproducible with versions: 6000.0.71f1, 6000.3.12f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1

Tested on (OS): macOS Silicon Tahoe 26.3.1 (M1)

{code:java}
ArgumentException: visibleColumns should should not be set to an empty array. At least one visible column is required.
UnityEditor.IMGUI.Controls.MultiColumnHeaderState.set_visibleColumns (System.Int32[] value) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/MultiColumnHeaderState.cs:178)
UnityEditor.IMGUI.Controls.MultiColumnHeader.ToggleVisibility (System.Int32 columnIndex) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/MultiColumnHeader.cs:560)
UnityEditor.IMGUI.Controls.MultiColumnHeader.ToggleVisibility (System.Object userData) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/MultiColumnHeader.cs:545)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:154)

{code}

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.