Search Issue Tracker
Fixed
Fixed in 6000.6.0a8
Under Consideration for 6000.4.X, 6000.5.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
- AdaptiveLOD sample has missing prefabs and throws missing prefab errors when the AdaptiveLOD sample is imported and the AdaptiveLOD scene is opened
- Error "transform.position assign attempt for 'x' is not valid" is logged when Moving Game Object to View while a Scene is multi selected
- [Desktop] Plastic move detection mixes up identical files
- SVG Icon has tessellation issues in "Antialiased Arc Encodings", ok with "Basic Triangulation"
- "You may not pass null objects" and "Maximized serialized file backup not found" errors are thrown when maximizing and minimizing docked Multiplayer Play Mode window after Multiplayer Play Mode package is uninstalled
Resolution Note:
Fixed in 6000.6.0a8
Resolution Note (fix version 6000.6.0a8):
Fixed in 6000.6.0a8