Blender_bevy_components_workflow icon indicating copy to clipboard operation
Blender_bevy_components_workflow copied to clipboard

Failure during auto_export: Error: 'bpy_prop_collection[key]: key "ViewLayer" not found'

Open leo91000 opened this issue 1 year ago • 4 comments

Hello, I was following the the quick start guide. I think I followed every step without missing anything (I red multiple time). However, at the step press Ctrl + S to save, I get this error when I save.

Failure during auto_export: Error: 'bpy_prop_collection[key]: key "ViewLayer" not found'

Also, the Worl.glb in the assets/levels/ folder is not created.

Is it normal ?

image

leo91000 avatar Aug 13 '24 18:08 leo91000

I have also met with this situation.

mrstanley avatar Aug 17 '24 02:08 mrstanley

Quick fix:

Edit > Preferences > Interface > Uncheck “New data” option in the language properties If for some reason this doesn't work, you can simply change the interface language to English

image

matveyti avatar Aug 18 '24 00:08 matveyti

@leo91000 thanks for the bug report ! Have you tried @matveyti's solution ? If that fixes the issue, I know how to resolve it in Blenvy (to make it work correctly in other languages). @mrstanley are you also using Blenvy in a language that is different from English ?

@matveyti thanks a lot for that possible fix ! I thought Blender's viewlayers had english internal names , but it seems not ? Will investigate

kaosat-dev avatar Aug 18 '24 11:08 kaosat-dev

@leo91000 thanks for the bug report ! Have you tried @matveyti's solution ? If that fixes the issue, I know how to resolve it in Blenvy (to make it work correctly in other languages). @mrstanley are you also using Blenvy in a language that is different from English ?

@matveyti thanks a lot for that possible fix ! I thought Blender's viewlayers had english internal names , but it seems not ? Will investigate

I encountered the same issue. After restarting Blender and setting the language to English, the settings could be saved without errors, and the project created an assets directory, which also contained the World.glb file.

Image

hathawayANdRX105 avatar Feb 08 '25 06:02 hathawayANdRX105