Skip to content

Allow parameters passed to GDScript functions to be nulled

Created by: bojidar-bg

Previous version resulted in confusing (but actually right) errors about converting "from Object to Object", since CallError does not include information about the actual types involved.

Basically, checks if the passed argument can be implicitly converted to null if it doesn't match type, and avoids erroring then.

Should fix #26047 (closed).

Merge request reports