-
-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Labels
c: coreCore componentsCore componentsfeatureAdds functionality to the libraryAdds functionality to the library
Description
Passing a typed Array from Godot and attempting to convert it to a VariantArray currently panics (in a very unclear manner).
This is unintuitive and unhelpful behavior, and makes dealing with Variants that could be typed Arrays extremely annoying, as you'd need to check against every possible contained type.
Attached is a minimum viable reproduction that shows off the issue well.
I apologize if there's an intended way around this already (or if it's simply not intended), I wasn't able to find any workaround that didn't involve matching to each contained type.
Metadata
Metadata
Assignees
Labels
c: coreCore componentsCore componentsfeatureAdds functionality to the libraryAdds functionality to the library