KK-Blender-Porter-Pack
KK-Blender-Porter-Pack copied to clipboard
V6: Error when baking material templates
Traceback (most recent call last): File "C:\Users\pkopk\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\KK-Blender-Porter-Pack-V6-0-0\exporting\bakematerials.py", line 439, in execute camera = setup_camera() File "C:\Users\pkopk\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\KK-Blender-Porter-Pack-V6-0-0\exporting\bakematerials.py", line 64, in setup_camera bpy.data.worlds[0].node_tree.nodes['Background'].inputs[0].default_value = (0,0,0,1) IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
After clicking the Prep for target application, the objects are not merged into one(not sure if this is ok).
Then I clicked Bake material templates and I only want light version, the error occurs.
My scene has no world or background.
Even though I setup a world for it, I still get this error.
OK, I guess it's related to the language setting. I changed to English interface and setup a new world with surface node as 'Background', then the baking worked.
Thanks, the language shouldn't matter now and it will create a new world if it doesn't find one