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

Creating an object in js lost all built-in function links #191

Open
QuentinMallen opened this issue Jan 30, 2024 · 0 comments
Open

Creating an object in js lost all built-in function links #191

QuentinMallen opened this issue Jan 30, 2024 · 0 comments
Labels
investigation Needs some investigation
Milestone

Comments

@QuentinMallen
Copy link

When is js I create a new Object :
new MyObject(); which extends Sprite2D, the object is well created, but the functions _process, _ready, _draw and all the built-in functions are not called.
It seems to only happen when I try to create an object which is not initially linked to the scene. I mean, I didn't put the script on an object on my scene in the editor.
I am using Godot 4.0.

@nmerget nmerget added the investigation Needs some investigation label Sep 22, 2024
@nmerget nmerget added this to the Stable 4.1 milestone Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation Needs some investigation
Projects
Status: Backlog
Development

No branches or pull requests

2 participants