The_Lightmapper icon indicating copy to clipboard operation
The_Lightmapper copied to clipboard

keyError bpy_prop_collection

Open torchesburn opened this issue 2 years ago • 2 comments

I dont get why some meshes give this error

line 843, in manage_build

Lightmapimage - bpy.data.images[img_name]

bpy_prop_collection[key]: key "mesh.name.here" not found

mesh.name.here being the mesh name

and the bake fails completely

torchesburn avatar Feb 08 '22 15:02 torchesburn

Hi, and thanks for submitting this bug!

I can't seem to find anything specific on that line in the manage_build section - Would it be possible to get a screenshot of the blender console with this error?:

image

Thanks again

Naxela avatar Feb 09 '22 08:02 Naxela

So what i wrote was almost exact

window console also shows this stacktrace: lightmapper\addon\operators\tlm.py line 52 in invoke lightmapper\addon\utility\build.py line 101 in prepare_build lightmapper\addon\utility\build.py line 678 in begin_build lightmapper\addon\utility\build.py line 843 in manage_build Lightmapimage - bpy.data.images[img_name]

bpy_prop_collection[key]: key "mesh.name.here" not found

torchesburn avatar Feb 09 '22 11:02 torchesburn