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
Script class not found #31
Comments
I think this could be an issue with running the build before the class database is cached. We can try to add an extra command to force it to init the class database earlier, although I can't guarantee that will work. It could be an issue with the headless version of godot itself, if that is the case then there is nothing we can do, it has to be fixed upstream. |
Just some information. I don't think there is any problem with the docker image or godot headless itself. Because I tried building it locally with this image using docker and it seems to work. |
@myin142 Can you still reproduce this issue with the latest Godot and godot-ci versions? |
@Calinou Seems like it is still happening. I changed it to the latest version but the newest is 3.2.3 anyway so I think nothing changed since last time. I used the project I mentioned in this issue. |
When I build the project with this docker image, I get for example this error:
**SCRIPT ERROR**: Parse Error: The identifier "Health" isn't a valid type (not a script or class), or couldn't be found on base "self".
But building it locally works fine. I tried 3.2.2, 3.2.1 and latest but they all cause this error. Not sure if the problem is in this docker image. I assume it is since it works locally.
The text was updated successfully, but these errors were encountered: