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

Can't build map in exported game #166

Open
omthegg opened this issue Feb 15, 2023 · 0 comments
Open

Can't build map in exported game #166

omthegg opened this issue Feb 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@omthegg
Copy link

omthegg commented Feb 15, 2023

I'm using Qodot to add player-made map support to a game.

I'm setting the QodotMap map_file and then calling verify_and_build().

Everything works fine when I run the game from the editor, but the map fails to load in the exported version.

After some investigating, I think I found what causes it.

In QodotMap.gd, in the verify_parameters() function, " qodot = qodot_script.new() " seems to be null in the exported game, but is a Reference object when I run the game from the editor.

This is the function I use to load player-made maps:
Screenshot (393)

@omthegg omthegg changed the title Can't load maps from user's files in exported game Can't build map in exported game Feb 15, 2023
@DeerTears DeerTears self-assigned this Feb 16, 2023
@DeerTears DeerTears added the bug Something isn't working label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants