You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Variant type enum for pooled array types follows the format PACKED_<type>_ARRAY, not PACKED<type>ARRAY.
Our current implementation just converts the C++ type name to uppercase and append it to Variant::. So PackedInt32Array gets mapped to PACKEDINT32ARRAY, and since Variant::PACKEDINT32ARRAY doesn't exist, the mapping fails and we would refuse to register it.
Instead of simply converting type names to uppercase, we need to convert type names from CamelCase to snake_case, then to uppercase.
The text was updated successfully, but these errors were encountered:
The Variant type enum for pooled array types follows the format
PACKED_<type>_ARRAY
, notPACKED<type>ARRAY
.Our current implementation just converts the C++ type name to uppercase and append it to
Variant::
. SoPackedInt32Array
gets mapped toPACKEDINT32ARRAY
, and sinceVariant::PACKEDINT32ARRAY
doesn't exist, the mapping fails and we would refuse to register it.Instead of simply converting type names to uppercase, we need to convert type names from CamelCase to snake_case, then to uppercase.
The text was updated successfully, but these errors were encountered: