Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload exported pck to gotm.io #71

Open
quimnuss opened this issue Sep 8, 2023 · 2 comments
Open

Unable to upload exported pck to gotm.io #71

quimnuss opened this issue Sep 8, 2023 · 2 comments

Comments

@quimnuss
Copy link

quimnuss commented Sep 8, 2023

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 quimnuss changed the title Importing errors, scripts aren't found Function "_init()" not found in base Node on exported pck Sep 8, 2023
@imjp94
Copy link
Owner

imjp94 commented Sep 11, 2023

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 imjp94 changed the title Function "_init()" not found in base Node on exported pck Unable to upload exported pck to gotm.io Sep 11, 2023
@rsubtil
Copy link

rsubtil commented Oct 3, 2023

Possible godotengine/godot#76938?

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

No branches or pull requests

3 participants