godot_pixelorama_importer icon indicating copy to clipboard operation
godot_pixelorama_importer copied to clipboard

Resources missing from exported game

Open vibrant-reindeer opened this issue 5 months ago • 0 comments

Everything works fine when starting the game from within the editor. But when exporting the project (I tried both Windows and Web export) resources are missing from the generated .pck file. This leads to invisible sprites and other errors, for example:

ERROR: Unable to open file: res://.godot/imported/player.pxo-987ecce3633781f55f08242ec3da8e72.spritesheet.ctex. at: (scene/resources/compressed_texture.cpp:41)

I'm not exactly sure what is missing here. https://github.com/godotengine/godot/issues/84401 seems to indicate that only a single resource can be exported by an EditorImportPlugin? Other plugins (e.g. https://github.com/nklbdev/godot-4-importality) seem to work around this by actually creating additional files outside of the .godot/imported folder.

I did not attempt a fix this time. To be honest, godot-4-importality already does everything I want.

vibrant-reindeer avatar Feb 17 '24 22:02 vibrant-reindeer