Open FenyxInvincible opened 2 years ago
Hey there, can you help with this one
Python: Traceback (most recent call last): File "C:\Users*****\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\EasyBake.py", line 377, in execute if context.scene.lowpoly is None and not context.scene.lowpoly in bpy.data.collections: TypeError: bpy_prop_collection.contains: expected a string or a tuple of strings
location:
Hey there, can you help with this one
Python: Traceback (most recent call last): File "C:\Users***\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\EasyBake.py", line 377, in execute if context.scene.lowpoly is None and not context.scene.lowpoly in bpy.data.collections: TypeError: bpy_prop_collection.contains**: expected a string or a tuple of strings
location: :-1
I know python very bad (don't like it :) ) but seems you are doing something wrong. There is not any sence to fix that error because next execution will be warrning and stop execution anyway
if context.scene.lowpoly is None and not context.scene.lowpoly in bpy.data.collections: self.report({'WARNING'}, "Select a valid lowpoly object or collection!") return {'FINISHED'}
You could check your objects structure. Seems like script can not find lowpoly model. If lowpoly is picked for sure, you could try to play with blender versions. At least for 3.1 addod works fine in case lowpoly -> high poly -> cage.
When I try to bake with cage I got error `Python: Traceback (most recent call last): , line 469, in execute TypeError: bpy_prop_collection[key]: invalid key, must be a string or an int, not Object
location::-1
`
This simple fix solved the issue