gd-YAFSM icon indicating copy to clipboard operation
gd-YAFSM copied to clipboard

Unable to upload exported pck to gotm.io

Open quimnuss opened this issue 2 years ago • 2 comments

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.

quimnuss avatar Sep 08 '23 20:09 quimnuss

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".
......

imjp94 avatar Sep 11 '23 10:09 imjp94

Possible https://github.com/godotengine/godot/issues/76938?

rsubtil avatar Oct 03 '23 12:10 rsubtil