QodotPlugin / qodot-plugin

(LEGACY) Quake .map support for Godot 3.x
MIT License
960 stars 70 forks source link

Can't build map in exported game #166

Open omthegg opened 1 year ago

omthegg commented 1 year ago

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)