Skip to content

Conversation

@fabiosantoscode
Copy link

This fixes a crash when importing SpriteFrames from Aseprite files in Godot 4.6-beta2:

  ERROR: Attempted to set a variable of type 'Array' into a TypedArray of type 'PackedInt32Array'.
  ERROR: core/variant/array.cpp:520 - Condition "!_p->typed.validate(value, "set")" is true.

It appears that it's no longer possible to implicitly cast variables like this.

I've opened an issue in the godot repo ( godotengine/godot#114299 ) and this is a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant