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

Can't see blueprints not in a world scene #239

Open
andriyDev opened this issue Aug 23, 2024 · 2 comments
Open

Can't see blueprints not in a world scene #239

andriyDev opened this issue Aug 23, 2024 · 2 comments

Comments

@andriyDev
Copy link

I want to have a single Blender file with my game objects. However these are not present in any world scene since they are intended to be created by the player. When I try to create my blend file without a world scene, I can't see the blueprints in Blender to enable their auto export.

I was able to workaround this by adding the AutoExport property and that seems to work, though Bevy tries to load the property as a component and gives warnings, and the always_export flag isn't even set in the UI.

@agjini
Copy link

agjini commented Sep 22, 2024

Hi,
I'm using blenvy version 0.1.0-alpha.1
I'm confused because I'm adding a new collection in the Library scene intended to use it as a blueprint to manually spawn in bevy game. But the collection (and its content) is not exported into the blueprints folder (the glb file and its metadata is not generated on blender save).

It seems to be exported only when the collection is manually added as an object inside the World scene.

Is this the expected behaviour ? Because as I understand, the content of the library are items that can be used as blueprints (and therefor have to be generated as single files inside blueprints folder)

Thanks for your clarification

@LeonKuhne
Copy link

LeonKuhne commented Oct 16, 2024

Same issue here, blueprints dont export from library scenes -- only from level scenes.

Workaround

  • create a new scene in blender, ie "Spawnables", and mark it as a "level scene" in the Blenvy addon
  • add collection instances (blueprints) you want to spawn in/export to the new level scene
  • save the project

You can check ./assets/blueprints/ to see what blueprints are exported from blender.

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

3 participants