Search Issue Tracker
Active
Under Consideration for 6000.6.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}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Physics Debugger displays mouse cursor ray casts when Game view is not open if Input System package is used
- “ArgumentException” error thrown when disabling all columns in Project Auditor's Multi-column panel context menu
- Errors are thrown and contextual menu does not open when right-clicking multiple mixed keyframes in Dopesheet
- Crash on MergeObjectCollection when repeatedly selecting a Prefab Asset in the Project Browser
- Warning icon is cut off and misplaced in Inspector when selecting a Shader with a compiler warning
Add comment