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

Resources missing from exported game #13

Open
vibrant-reindeer opened this issue Feb 17, 2024 · 0 comments
Open

Resources missing from exported game #13

vibrant-reindeer opened this issue Feb 17, 2024 · 0 comments

Comments

@vibrant-reindeer
Copy link

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. godotengine/godot#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant