Script isn't getting read (SOLVED)

Hey everyone,
I have been programming in defold but some of my scripts aren’t getting read, how can I fix this?

How about… a tiny bit of detail?

4 Likes

So I was writing code in a new opened script but when the game was running, nothing from/in the script was read in the program. It didn’t work even though the code was right. Defold didn’t run the code in my script. Is there any way to fix this issue?

First step: Make sure the script is added to a game object in an active collection.

Second step: Post a minimal example project which displays the issue.

1 Like

Oh okay.
I did what you said and it seems like we have done some progress, only now I have a few other issues. I’ll ask you if I can’t fix them myself. Thank you so much for all help. Kind regards/ Daniel Eriksson

1 Like

Great, lycka till med spelet!

3 Likes

Haha, tackar