godot-open-rpg
godot-open-rpg copied to clipboard
Resources broken when project is exported to an .exe
Using Godot 3.1-stable-win64
The DialogDatabase which loads .tres files at application startup does not work for exported (aka built/compiled) projects - the .tres files are either not included in the export (or are not accessible in the same way) leading to
It works fine when running in the editor - just not in an exported build
There are a apparently a whole series of bugs in Godot related to this and debate over how or if to fix it - for example: https://github.com/godotengine/godot/issues/25672
Thanks! I don't have time to look into it now, I'll leave a help wanted label for now
Just an update to this - after exporting my game using a C# implementation of the Dialogue system, it would not load characters.
Looks like someone is mentioning here that the Directory system should not be used for this...although dynamically loading the resources would be preferred imo I'm not sure who is right...
https://github.com/godotengine/godot-docs/issues/2280