Skip to content

Can't build map in exported game #166

@omthegg

Description

@omthegg

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions