Search Issue Tracker
In Progress
In Progress in 6000.6.X
Under Consideration for 6000.3.X, 6000.4.X, 6000.5.X
Votes
0
Found in
6000.3.3f1
6000.4.0b3
6000.5.0a4
6000.6.0a1
Issue ID
UUM-131690
Regression
Yes
[LinuxEditor] Opening Agent Settings window when choosing Agent Type throws “InvalidOperationException” error in the Console window
Steps to reproduce:
1. Create new Unity project
2. In Hierarchy window create “NavMesh Link” GO (Right-click > AI > NavMesh Link)
3. Select “NavMesh Link” GO in Hierarchy window
4. In Inspector window click on Agent Type > Humanoid
5. From dropdown menu select “Open Agent Settings…”
6. Observe Console window
Actual results: Error is thrown in the Console window: “InvalidOperationException: Stack empty.
System.Collections.Generic.Stack`1[T].Pop () (at :0)
UnityEditor.EditorGUI.EndProperty () (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:7082)
Unity.AI.Navigation.Editor.NavMeshComponentsGUIUtility.AgentTypePopup (UnityEngine.GUIContent label, UnityEditor.SerializedProperty agentTypeID) (at ./Library/PackageCache/com.unity.ai.navigation@5218e4bf7edc/Editor/NavMeshComponentsGUIUtility.cs:120)
Unity.AI.Navigation.Editor.NavMeshLinkEditor.OnInspectorGUI () (at ./Library/PackageCache/com.unity.ai.navigation@5218e4bf7edc/Editor/NavMeshLinkEditor.cs:118)
UnityEditor.UIElements.InspectorElement+<>c_{_}DisplayClass82_0.<CreateInspectorElementUsingIMGUI>b{_}_2 () (at /home/bokken/build/output/unity/unity/Editor/Mono/UIElements/Inspector/InspectorElement.cs:795)
UnityEditor.PopupCallbackInfo:SetEnumValueDelegate(Object, String[], Int32) (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:4093)”
Expected results: No errors thrown in the Console window
Reproducible with versions: 2.0.7 (6000.3.0a2 (d454866889d5)), 2.0.9 (6000.3.3f1, 6000.4.0b3, 6000.5.0a4)
Not reproducible with versions: 6000.0.65f1, 6000.2.15f1, 2.0.7 (6000.3.0a1 (4592b02ab560))
Tested on (OS): Ubuntu 24.04
Notes:
- Was not able to reproduce the issue on macOS Silicon Tahoe 26.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment