Closed StShAzzy closed 2 weeks ago
Hi, I am making KKBP 7.0.0 compatible for Blender 4.2 LTS Beta. Can you try it on that version instead? I am not seeing any import errors in that version.
i'll try it soon
ok, so now Chika Haruko works, but it seems there's a specific eyebrow that causes the process to fail
Make sure the default model imports correctly before troubleshooting on this model!
Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\modifymaterial.py", line 60, in execute
self.link_textures_for_body()
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\modifymaterial.py", line 509, in link_textures_for_body
self.image_load('KK Eyebrows (mayuge)', 'Gentex', 'Eyebrow', self.body['SMR materials']['cf_O_mayuge'][0] + '_MT_CT.png')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
TypeError: only strings are allowed as keys of ID properties
Error: Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\modifymaterial.py", line 60, in execute
self.link_textures_for_body()
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\modifymaterial.py", line 509, in link_textures_for_body
self.image_load('KK Eyebrows (mayuge)', 'Gentex', 'Eyebrow', self.body['SMR materials']['cf_O_mayuge'][0] + '_MT_CT.png')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
TypeError: only strings are allowed as keys of ID properties
Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\importbuttons.py", line 97, in execute
function()
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\importbuttons.py", line 71, in <lambda>
lambda:bpy.ops.kkbp.modifymaterial('INVOKE_DEFAULT'),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Users\USER\Downloads\temp\blender-4.2.0-beta+v42.c94bed9afa0d-windows.amd64-release\4.2\scripts\modules\bpy\ops.py", line 107, in __call__
ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\modifymaterial.py", line 60, in execute
self.link_textures_for_body()
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KKBP700\importing\modifymaterial.py", line 509, in link_textures_for_body
self.image_load('KK Eyebrows (mayuge)', 'Gentex', 'Eyebrow', self.body['SMR materials']['cf_O_mayuge'][0] + '_MT_CT.png')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
TypeError: only strings are allowed as keys of ID properties
seems the problem is a eyebrow? i'll try narrowing down the possible causes
it's Chika Haruno (KKS default char)
Koikatsu Sunshine with HF Patch 1.19 KKBP 7.0.0 (so newest version at the time of writing this) Windows 10 22H2 64-bits Blender 3.6.13