Search Issue Tracker
Fixed
Fixed in 6000.3.13f1, 6000.4.1f1, 6000.5.0b2, 6000.6.0a2
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
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
- Crash on "StoredGraphicsBuffer::GetGfxBufferID" when activating VFX via extention of Activation Track in Timeline window
- [Linux] Stack trace file path and line number information is missing when IL2CPP Stacktrace Information is set to "Method Name, File Name, and Line Number"
- Warnings due to obsolete Object.FindObjectsByType<T> usage and [SerializeReference] are logged when opening the Netcode for Entities setup scene
- Non-standard pointers cannot change Inspector values with arrow controls when crossing Inspector area
- No longer able to change the Toggle or Slider GameObjects' Target Graphic value and a NullReferenceException is thrown when the Target Graphic value is set to None at any point
Resolution Note:
Fixed in 6000.6.0a2
Resolution Note (fix version 6000.6.0a2):
Fixed in 6000.6.0a2
Resolution Note (fix version 6000.5.0b2):
Fixed in 6000.5.0b2
Resolution Note (fix version 6000.4.1f1):
Fixed in 6000.4.1f1