Open quimnuss opened 1 year ago
Confirmed, I am getting similar errors for uploading game build from gd-YAFSM-demo:
[GODOT] USER SCRIPT ERROR: Parse Error: Function "_init()" not found in base RefCounted.
[GODOT] USER SCRIPT ERROR: Parse Error: Could not resolve class "res://addons/imjp94.yafsm/src/StackPlayer.gd".
......
Using godot 4.1.1
If I upload the pck to https://gotm.io/web-player the inspector says
USER SCRIPT ERROR: Parse Error: Function "_init()" not found in base Node. at: GDScript::reload (res://addons/imjp94.yafsm/src/StackPlayer.gd:23)
I also had issues exporting, which it told me it couldn't find the scripts although it magically worked at a later export.
I have no idea why this happens, since Node should have _init()
Can you reproduce the issue uploading a pck to that web? The game plays but errors when calling yafsm freeze all my game animations.