Search Issue Tracker
Fixed
Fixed in 6000.5.2f1, 6000.6.0a8
Under Consideration for 6000.4.X
Votes
0
Found in
6000.3.14f1
6000.4.7f1
6000.5.0b9
6000.6.0a5
Issue ID
UUM-142342
Regression
No
“ArgumentException” error thrown when disabling all columns in Project Auditor's Multi-column panel context menu
Steps to reproduce:
1. Create new Unity project using Universal 3D Template
2. Open Project Auditor window
3. Install Rules
4. In Project Areas choose “Assets” and Start Analysis
5. After analysis, go to Assets > Meshes
Right-click on Multi-column panel to open menu
6. Disable everything from the menu that is selected (Name, Vertices, Primitives, Topology, etc)
7. Observe the Console window
Actual results: Disabling last menu option from Multi-column panel in Project Auditor window throws “ArgumentException” error in the Console window
Expected results: The last remaining visible column should not be able to be disabled, either by greying out the last checked menu option or by preventing the action and showing a warning to the user
Reproducible with versions: 6000.3.14f1, 6000.4.7f1, 6000.5.0b9, 6000.6.0a5
Can’t test with versions: 6000.0.74f1 (Project Auditor is not available)
Tested on (OS): macOS Tahoe 26.4.1
{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)
Unity.ProjectAuditor.Editor.UI.Framework.PAMultiColumnHeader.MyToggleVisibility (System.Object userData) (at ./Library/PackageCache/com.unity.project-auditor@6cc18ad506e9/Editor/UI/Framework/IssueTable.cs:22)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:160)
{code}
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
- MissingReferenceException errors are thrown after entering Play mode when multiple Inspector windows are displaying different objects with Grid Layout Group component
- "Can't change name, category with the same name already exists" Error is logged when renaming a Category to a name with a trailing space in the VFX Graph Blackboard
- Delete does nothing on an in-use Custom Attribute when re-triggered after cancelling the deletion confirmation prompt in the VFX Graph Blackboard
- No Ellipses are used for the Visual Effect Graph Create Context Menu Option
- Crash on LaunchBugReporter when opening a specific project using DirectX 12
Resolution Note:
Fixed in 6000.6.0a8
Resolution Note (fix version 6000.6.0a8):
Fixed in 6000.6.0a8
Resolution Note (fix version 6000.5.2f1):
Fixed in 6000.5.2f1