[Godot Engine v4.6.2]
Was having issues with custom commands using non-string arguments. Dug a bit with a debugger and saw errors being thrown here when trying to assigned coerced values
Fixed on my own project by setting coerced_args to be a default Array to avoid TypedArray data being copied over during duplication
func _safe_callv(callable: Callable, args: Array, command_name: String) -> Dictionary:
var coerced_args: Array = []
coerced_args.assign(args)
[Godot Engine v4.6.2]
Was having issues with custom commands using non-string arguments. Dug a bit with a debugger and saw errors being thrown here when trying to assigned coerced values
Fixed on my own project by setting
coerced_argsto be a default Array to avoidTypedArraydata being copied over during duplication