ValueDropdown and Enum selector causes multiple exceptions and errors when opened on linux with unity 2020.2

Issue #742 new
Vladislav Hristov created an issue

1. What happened?

Exceptions is thrown when opening a drop down list under Ubuntu

2. How can we reproduce it?

Using the following “example” on newly created URP project:

public ValueDropdownList<int> testdropdown()
{
    var list = new ValueDropdownList<int>();
    list.Add(new ValueDropdownItem<int>("test1", 1));
    list.Add(new ValueDropdownItem<int>("test2", 2));
    list.Add(new ValueDropdownItem<int>("test3", 3));
    list.Add(new ValueDropdownItem<int>("test4", 4));
    return list;
}
private static IEnumerable FriendlyTextureSizes = new ValueDropdownList<int>()
{
    { "Small", 256 },
    { "Medium", 512 },
    { "Large", 1024 },
};
public enum TestEnum {
    test1,
    test2,
    test3
};

[BoxGroup("test")]
public TestEnum testEnum;

[ValueDropdown("FriendlyTextureSizes")]
[BoxGroup("test")]
public int test1;

[ValueDropdown("testdropdown")]
[BoxGroup("test")]
public int test2;

In case the drop down list is inside a box group and/or in list the following set of errors are logged in the console every time the list is selected:

Pop call mismatch; no corresponding push call! Each call to Pop must always correspond to one - and only one - call to Push.
UnityEngine.Debug:LogError (object)
Sirenix.Utilities.Editor.GUIScopeStack`1<single>:Pop () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIScopeStack.cs:29)
Sirenix.Utilities.Editor.GUIHelper:PopLabelWidth () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIHelper.cs:896)
Sirenix.Utilities.Editor.SirenixEditorGUI:EndBox () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/SirenixEditorGUI.cs:2075)
Sirenix.OdinInspector.Editor.Drawers.BoxGroupAttributeDrawer:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Group Drawers/BoxGroupAttributeDrawer.cs:52)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:677)
Sirenix.OdinInspector.Editor.Drawers.UnityObjectRootDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Value Drawers/UnityObjectRootDrawer.cs:60)
Sirenix.OdinInspector.Editor.OdinDrawer:CallNextDrawer (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:155)
Sirenix.OdinInspector.Editor.Drawers.FixBrokenUnityObjectWrapperDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at Assets/Plugins/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:41)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.PropertyTree:DrawProperties () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:485)
Sirenix.OdinInspector.Editor.PropertyTree:Draw (bool) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:389)
Sirenix.OdinInspector.Editor.OdinEditor:DrawTree () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:93)
Sirenix.OdinInspector.Editor.OdinEditor:DrawOdinInspector () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:216)
Sirenix.OdinInspector.Editor.OdinEditor:OnInspectorGUI () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:85)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

Pop call mismatch; no corresponding push call! Each call to Pop must always correspond to one - and only one - call to Push.
UnityEngine.Debug:LogError (object)
Sirenix.Utilities.Editor.GUIScopeStack`1<bool>:Pop () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIScopeStack.cs:29)
Sirenix.Utilities.Editor.GUIHelper:PopHierarchyMode () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIHelper.cs:723)
Sirenix.Utilities.Editor.SirenixEditorGUI:EndBox () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/SirenixEditorGUI.cs:2076)
Sirenix.OdinInspector.Editor.Drawers.BoxGroupAttributeDrawer:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Group Drawers/BoxGroupAttributeDrawer.cs:52)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:677)
Sirenix.OdinInspector.Editor.Drawers.UnityObjectRootDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Value Drawers/UnityObjectRootDrawer.cs:60)
Sirenix.OdinInspector.Editor.OdinDrawer:CallNextDrawer (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:155)
Sirenix.OdinInspector.Editor.Drawers.FixBrokenUnityObjectWrapperDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at Assets/Plugins/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:41)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.PropertyTree:DrawProperties () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:485)
Sirenix.OdinInspector.Editor.PropertyTree:Draw (bool) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:389)
Sirenix.OdinInspector.Editor.OdinEditor:DrawTree () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:93)
Sirenix.OdinInspector.Editor.OdinEditor:DrawOdinInspector () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:216)
Sirenix.OdinInspector.Editor.OdinEditor:OnInspectorGUI () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:85)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

Pop call mismatch; no corresponding push call! Each call to Pop must always correspond to one - and only one - call to Push.
UnityEngine.Debug:LogError (object)
Sirenix.Utilities.Editor.GUIScopeStack`1<single>:Pop () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIScopeStack.cs:29)
Sirenix.Utilities.Editor.GUIHelper:PopHierarchyMode () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIHelper.cs:724)
Sirenix.Utilities.Editor.SirenixEditorGUI:EndBox () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/SirenixEditorGUI.cs:2076)
Sirenix.OdinInspector.Editor.Drawers.BoxGroupAttributeDrawer:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Group Drawers/BoxGroupAttributeDrawer.cs:52)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:677)
Sirenix.OdinInspector.Editor.Drawers.UnityObjectRootDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Value Drawers/UnityObjectRootDrawer.cs:60)
Sirenix.OdinInspector.Editor.OdinDrawer:CallNextDrawer (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:155)
Sirenix.OdinInspector.Editor.Drawers.FixBrokenUnityObjectWrapperDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at Assets/Plugins/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:41)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.PropertyTree:DrawProperties () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:485)
Sirenix.OdinInspector.Editor.PropertyTree:Draw (bool) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:389)
Sirenix.OdinInspector.Editor.OdinEditor:DrawTree () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:93)
Sirenix.OdinInspector.Editor.OdinEditor:DrawOdinInspector () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:216)
Sirenix.OdinInspector.Editor.OdinEditor:OnInspectorGUI () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:85)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

Pop call mismatch; no corresponding push call! Each call to Pop must always correspond to one - and only one - call to Push.
UnityEngine.Debug:LogError (object)
Sirenix.Utilities.Editor.GUIScopeStack`1<int>:Pop () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIScopeStack.cs:29)
Sirenix.Utilities.Editor.GUIHelper:PopIndentLevel () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIHelper.cs:760)
Sirenix.Utilities.Editor.SirenixEditorGUI:EndIndentedVertical () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/SirenixEditorGUI.cs:1648)
Sirenix.Utilities.Editor.SirenixEditorGUI:EndBox () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/SirenixEditorGUI.cs:2077)
Sirenix.OdinInspector.Editor.Drawers.BoxGroupAttributeDrawer:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Group Drawers/BoxGroupAttributeDrawer.cs:52)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:677)
Sirenix.OdinInspector.Editor.Drawers.UnityObjectRootDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Value Drawers/UnityObjectRootDrawer.cs:60)
Sirenix.OdinInspector.Editor.OdinDrawer:CallNextDrawer (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:155)
Sirenix.OdinInspector.Editor.Drawers.FixBrokenUnityObjectWrapperDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at Assets/Plugins/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:41)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.PropertyTree:DrawProperties () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:485)
Sirenix.OdinInspector.Editor.PropertyTree:Draw (bool) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:389)
Sirenix.OdinInspector.Editor.OdinEditor:DrawTree () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:93)
Sirenix.OdinInspector.Editor.OdinEditor:DrawOdinInspector () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:216)
Sirenix.OdinInspector.Editor.OdinEditor:OnInspectorGUI () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:85)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

EndLayoutGroup: BeginLayoutGroup must be called first.
UnityEngine.GUILayout:EndHorizontal ()
Sirenix.Utilities.Editor.SirenixEditorGUI:EndIndentedVertical () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/SirenixEditorGUI.cs:1649)
Sirenix.Utilities.Editor.SirenixEditorGUI:EndBox () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.Utilities.Editor/GUI/SirenixEditorGUI.cs:2077)
Sirenix.OdinInspector.Editor.Drawers.BoxGroupAttributeDrawer:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Group Drawers/BoxGroupAttributeDrawer.cs:52)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:677)
Sirenix.OdinInspector.Editor.Drawers.UnityObjectRootDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Value Drawers/UnityObjectRootDrawer.cs:60)
Sirenix.OdinInspector.Editor.OdinDrawer:CallNextDrawer (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:155)
Sirenix.OdinInspector.Editor.Drawers.FixBrokenUnityObjectWrapperDrawer`1<UnityTemplateProjects.SimpleCameraController>:DrawPropertyLayout (UnityEngine.GUIContent) (at Assets/Plugins/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:41)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw (UnityEngine.GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.PropertyTree:DrawProperties () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:485)
Sirenix.OdinInspector.Editor.PropertyTree:Draw (bool) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:389)
Sirenix.OdinInspector.Editor.OdinEditor:DrawTree () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:93)
Sirenix.OdinInspector.Editor.OdinEditor:DrawOdinInspector () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:216)
Sirenix.OdinInspector.Editor.OdinEditor:OnInspectorGUI () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:85)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

While the same drop down element is selected again, or another drop down element is selected, while the current one is still open another exceptions is thrown (this was logged 3 times with the only difference between them being the property path, and all the 3 properties in the above test logged a separate error):

InvalidOperationException: Stack empty.
System.Collections.Generic.Stack`1[T].Pop () (at <aa976c2104104b7ca9e1785715722c9d>:0)
Sirenix.OdinInspector.Editor.InspectorProperty.PopDraw () (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:928)
Sirenix.OdinInspector.Editor.InspectorProperty.Draw (UnityEngine.GUIContent defaultLabel) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:891)
Sirenix.OdinInspector.Editor.Drawers.BoxGroupAttributeDrawer.DrawPropertyLayout (UnityEngine.GUIContent label) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Group Drawers/BoxGroupAttributeDrawer.cs:49)
Sirenix.OdinInspector.Editor.OdinDrawer.DrawProperty (UnityEngine.GUIContent label) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty.Draw (UnityEngine.GUIContent defaultLabel) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Rethrow as OdinPropertyException: This error occurred while being drawn by Odin.
Current IMGUI event: mouseMove
Odin Property Path: #test
Odin Drawer Chain:
> BoxGroupAttributeDrawer
> CompositeDrawer.
UnityEngine.Debug:LogException(Exception)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw(GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:866)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw() (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:677)
Sirenix.OdinInspector.Editor.Drawers.UnityObjectRootDrawer`1:DrawPropertyLayout(GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/Value Drawers/UnityObjectRootDrawer.cs:60)
Sirenix.OdinInspector.Editor.OdinDrawer:CallNextDrawer(GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:155)
Sirenix.OdinInspector.Editor.Drawers.FixBrokenUnityObjectWrapperDrawer`1:DrawPropertyLayout(GUIContent) (at Assets/Plugins/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:41)
Sirenix.OdinInspector.Editor.OdinDrawer:DrawProperty(GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinDrawer.cs:109)
Sirenix.OdinInspector.Editor.InspectorProperty:Draw(GUIContent) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/InspectorProperty.cs:789)
Sirenix.OdinInspector.Editor.PropertyTree:DrawProperties() (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:485)
Sirenix.OdinInspector.Editor.PropertyTree:Draw(Boolean) (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/PropertyTree.cs:389)
Sirenix.OdinInspector.Editor.OdinEditor:DrawTree() (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:93)
Sirenix.OdinInspector.Editor.OdinEditor:DrawOdinInspector() (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:216)
Sirenix.OdinInspector.Editor.OdinEditor:OnInspectorGUI() (at X:/Repositories/sirenix-development/Sirenix Solution/Sirenix.OdinInspector.Editor/Drawers/OdinEditor.cs:85)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

I also believe the above exceptions are causing an infinite loop or some other kind of hang up on the Unity Editor while opening and/or closing Interface selector drop down, where the above exceptions are always presented. I still have no clear reproducible steps on this as it seems to be a bit of random.

3. If screenshots would help explain or demonstrate your issue, please include these.

Not applicable

4. What version of Unity are you using?

Issue is reproducible on Unity 2020.2.0f1

Issue was not observed on Unity 2019.4 (there were some random Pop call mismatch and I don’t know if they are related as they were also observed on windows and are most probably fixed in Odin inspector 3.0.3)

5. What version of Odin are you using? (See "Tools > Odin Inspector > About")

3.0.3.0

6. Do you have Editor Only mode enabled?

It doesn’t matter. Tested both with and without editor only mode enabled, the behavior is the same as explained above.

7. What operating system are you on?

Issue is reproducible on Ubuntu 20.04.

Issue is NOT reproducible on Windows 10.

Comments (1)

  1. Log in to comment