Blender_bevy_components_workflow
Blender_bevy_components_workflow copied to clipboard
registry in assets?
Just a simple question:
Why is the registry.json in the assets folder instead of the art folder?
I don't have to ship it when releasing the game, do I?
That is actually a very good point ! I'll check if anything needs the registry outside of dev, and if not , I'll move the export to "art"
I use ”assets_src” as the ”art” directory. I like the suggestion on Discord to put it in target (although it feels like it’s a file that should be under version control?). Either way, the best would be if it was somehow configurable.
Other weird thought right now, when we would put it in the art or target folder, and someone would run the shipped game, would that create an art or target folder with the registry? O.o or is it debug mode only?
EDIT: just saw that the plugin is only enabled on debug_assert
Working through the quickstart guide, registry.json never gets created and the reload registry step produces this error:
@Barugon make sure that you run in debug, or make a profile where you still have debug_assertions
@Barugon make sure that you run in debug, or make a profile where you still have debug_assertions
I did that. Running it a second time did the trick.
The reason the registry.json was not created for me was that I have a workspace and was using cargo run from the workspace root. Running cargo run in the crates root caused the file to be created. It would be nice if it could work out of the workspace root.