You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on:0.1.0-alpha.1 in Blender 4.2.3 LTS with default plugin settings.
Setup: I have a World scene and Library scene as suggested in the documentation. Prepared 2 blueprints for my player and obstacle objects in Library section and I marked them as Assets in Blender side.
Issue: It works as expected when I instance blueprints in the World scene in Blender side and load the World scene in Bevy side. All materials are loaded when spawning World.glb and blueprints look as they should have in game.
But if I remove my blueprint instances from the World scene in Blender and try to load them on demand in Bevy side with this suggested snippet, materials which used by the blueprint are not loaded in Bevy even though they are exported successfully from Blender project.
I noticed the assets array in .meta.ron files are empty for the exported blueprints. Manually adding the relevant materials to this array fixes the issue. Is there a specific reason that Blender plugin does not populate this array when exporting? Or is there a relevant setting I'm missing on?
Player and Obstacles are instanced in World scene in Blender:
Fairly certain this is an issue on the blender plugin side. Maybe a component information that is not included in the library blueprints. You can kinda bypass this issue by loading the asset inside the scene (hide it somewhere so that the camera doesn't pick it up), load the blueprint holding in the individual model afterwards.
Tested on:
0.1.0-alpha.1
in Blender4.2.3 LTS
with default plugin settings.Setup: I have a World scene and Library scene as suggested in the documentation. Prepared 2 blueprints for my player and obstacle objects in Library section and I marked them as Assets in Blender side.
Issue: It works as expected when I instance blueprints in the World scene in Blender side and load the World scene in Bevy side. All materials are loaded when spawning World.glb and blueprints look as they should have in game.
But if I remove my blueprint instances from the World scene in Blender and try to load them on demand in Bevy side with this suggested snippet, materials which used by the blueprint are not loaded in Bevy even though they are exported successfully from Blender project.
I noticed the assets array in .meta.ron files are empty for the exported blueprints. Manually adding the relevant materials to this array fixes the issue. Is there a specific reason that Blender plugin does not populate this array when exporting? Or is there a relevant setting I'm missing on?
Player and Obstacles are instanced in World scene in Blender:
Player is not in World scene but spawned separately in bevy side:
player.meta.ron
The text was updated successfully, but these errors were encountered: