imjp94 / gd-YAFSM

Yet Another Finite State Machine for godot
MIT License
534 stars 25 forks source link

Not compatible with Godot 4.2 #79

Closed QbieShay closed 9 months ago

QbieShay commented 9 months ago

Hey!

Just downloaded the addon for my project and it doesn't seem to work for Godot 4.2

getting these errors

res://addons/imjp94.yafsm/plugin.gd:89 - Invalid set index 'state_machine' (on base: 'Control (StateMachineEditor.gd)') with value of type 'Nil'.
  res://addons/imjp94.yafsm/plugin.gd:114 - Invalid set index 'state_machine_player' (on base: 'Control (StateMachineEditor.gd)') with value of type 'Node (StateMachinePlayer.gd)'.
  res://addons/imjp94.yafsm/plugin.gd:117 - Invalid set index 'state_machine_player' (on base: 'Control (StateMachineEditor.gd)') with value of type 'Nil'.
imjp94 commented 9 months ago

I assume you downloaded from Godot Asset Library which is outdated, see #78

I have submitted an update to Asset Library, but it haven't got approved yet. As a workaround for now, you can download straight away from the repo or from the latest release 0.6.2

QbieShay commented 9 months ago

Thank you!!