From b68145385c77a91e5af240f6e8b1e7ef6c30517b Mon Sep 17 00:00:00 2001 From: Sinai Date: Wed, 7 Apr 2021 17:20:54 +1000 Subject: [PATCH] Fix issue with float struct check --- src/UI/InteractiveValues/InteractiveFloatStruct.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/UI/InteractiveValues/InteractiveFloatStruct.cs b/src/UI/InteractiveValues/InteractiveFloatStruct.cs index 689c650..81a1bef 100644 --- a/src/UI/InteractiveValues/InteractiveFloatStruct.cs +++ b/src/UI/InteractiveValues/InteractiveFloatStruct.cs @@ -61,6 +61,9 @@ namespace UnityExplorer.UI.InteractiveValues if (!type.IsValueType) return false; + if (string.IsNullOrEmpty(type.AssemblyQualifiedName)) + return false; + if (_typeSupportCache.TryGetValue(type.AssemblyQualifiedName, out bool ret)) return ret;