diff --git a/Alchemy/Assets/Alchemy/Editor/Elements/AlchemyPropertyField.cs b/Alchemy/Assets/Alchemy/Editor/Elements/AlchemyPropertyField.cs index d4959a2..ce9bb8b 100644 --- a/Alchemy/Assets/Alchemy/Editor/Elements/AlchemyPropertyField.cs +++ b/Alchemy/Assets/Alchemy/Editor/Elements/AlchemyPropertyField.cs @@ -17,6 +17,8 @@ namespace Alchemy.Editor.Elements switch (property.propertyType) { + // NOTE: RectOffset is a generic property type, but it doesn't have a SerializeField. Instead, use PropertyField. + case SerializedPropertyType.Generic when property.type == "RectOffset": default: element = new PropertyField(property); break;