KK-Blender-Porter-Pack
KK-Blender-Porter-Pack copied to clipboard
Import is interrupted
Thanks for your development work.
*operating environment koikatsu ver5.6.2.37.180 kkapi ver v1.33 blender v3.1 kkbp pluginupdate 0b645ac
*Error Description
When importing a character, the following error message appears and the process is interrupted. No texture is applied and no koikatsu shaders are generated. The error message also states that the cube cannot be found. The imported character is the initial "HarunoChika".
==== KKBP Log ====
Finalizing PMX file...
Modifying armature...
Finished in 2.67s
Translating and combining shapekeys...
Finished in 3.33s
Separating body, clothes, hair, hitboxes and shadowcast, then removing duplicate materials...
Warning: Material wasn't found when separating body materials: cf_m_tang.001
Moving duplicate material Bonelyfans in slot 17 to the original slot 1
Moving duplicate material cf_m_sirome_00 in slot 12 to the original slot 11
Moving duplicate material cf_m_hitomi_00 in slot 14 to the original slot 13
Warning: Material wasn't found when separating body materials: cf_m_hitomi_00.001
Warning: Material wasn't found when separating body materials: cf_m_sirome_00.001
Warning: Material wasn't found when separating body materials: cf_m_tooth.001
Warning: Material wasn't found when separating body materials: cf_m_face_00.001
Warning: Material wasn't found when separating body materials: cm_m_body
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4121
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3961
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4062
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3902
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4063
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3903
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4064
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3904
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4065
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3905
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4066
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3906
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4060
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3900
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4062
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3902
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4063
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3903
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4064
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3904
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4065
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3905
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4066
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3906
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4060
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3900
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4121
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3961
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4063
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3903
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4064
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3904
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4065
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3905
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4066
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3906
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4060
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3900
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4121
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3961
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4062
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3902
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4064
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3904
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4065
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3905
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4066
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3906
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4060
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3900
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4121
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3961
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4062
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3902
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4063
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3903
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4065
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3905
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4066
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3906
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4060
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3900
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4121
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3961
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4062
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3902
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4063
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3903
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4064
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3904
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4066
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3906
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4060
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3900
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4121
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3961
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4062
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3902
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4063
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3903
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4064
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3904
Warning: Material wasn't found when separating body materials: cf_m_hair_f_14_00_i 4065
Warning: Material wasn't found when separating body materials: cf_m_hair_b_08_00 3905
Finished in 5.67s
Categorizing bones into armature layers...
Finished in 0.81s
Adding bone drivers...
Reparenting bones and setting up IKs...
Setting up joint bones...
Creating eye controller and renaming bones...
Finished in 14.6s
Applying material templates and textures...
Error: Unknown python error occurred
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\KK-Blender-Shader-Pack-pluginupdate\importing\importeverything.py", line 927, in execute
bpy.data.objects['Cube'].name = 'Hair'
KeyError: 'bpy_prop_collection[key]: key "Cube" not found'
As mentioned in the comment from the PR, the latest update does not work yet, please wait for the addon to be fully updated before trying it. In the meantime feel free to use 6.0 Beta.
Thanks for the reply. I am looking forward to seeing it completed.
PS
This error occurs when the display language is Japanese, and works fine when the language is English. It seems that the cause is the name of the cube generated by "bpy.ops.mesh.primitive_cube_add" in line 926 of "importeverything.py". In blender version 3.1, when a cube is generated, the object is named with the Japanese name "立方体" instead of the English name "Cube". That is the cause of the error that the "Cube" object cannot be found.
For your information.
That is the cause of the error that the "Cube" object cannot be found.
Thanks, this shouldn't happen anymore