Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.3.3f1
6000.4.0b3
6000.5.0a4
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
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
Add comment