FlailingFog / KK-Blender-Porter-Pack

Plugin pack for exporting Koikatsu characters to Blender.
Other
373 stars 30 forks source link

KKBP 7.1.0 - Error importing Character #626

Closed Zorashii closed 2 weeks ago

Zorashii commented 2 weeks ago

Hi, this error occurred when importing a character, I even tried with 3 different ones but I always got this same error.

Cards (2 of 3 are +10MB, so GitHub won't let me paste directly here): https://mega.nz/folder/v64GwThT#m1ut0zt_zUcdCn7HoG1wVA

INFO:root:Setting custom normals...
ERROR:root:Traceback (most recent call last):
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\operators\fileio.py", line 187, in _do_execute
    importer_cls().execute(
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\core\pmx\importer.py", line 854, in execute
    self.__assignCustomNormals()
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\core\pmx\importer.py", line 795, in __assignCustomNormals
    mesh.use_auto_smooth = True
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Mesh' object has no attribute 'use_auto_smooth'

Error: Traceback (most recent call last):
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\operators\fileio.py", line 170, in execute
    self._do_execute(context)
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\operators\fileio.py", line 187, in _do_execute
    importer_cls().execute(
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\core\pmx\importer.py", line 854, in execute
    self.__assignCustomNormals()
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\core\pmx\importer.py", line 795, in __assignCustomNormals
    mesh.use_auto_smooth = True
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Mesh' object has no attribute 'use_auto_smooth'

Traceback (most recent call last):
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\kkbp\importing\importbuttons.py", line 105, in execute
    self.import_pmx_models()
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\kkbp\importing\importbuttons.py", line 128, in import_pmx_models
    bpy.ops.mmd_tools.import_model('EXEC_DEFAULT',
  File "C:\Program Files\Blender Foundation\Blender 4.2\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\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\operators\fileio.py", line 170, in execute
    self._do_execute(context)
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\operators\fileio.py", line 187, in _do_execute
    importer_cls().execute(
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\core\pmx\importer.py", line 854, in execute
    self.__assignCustomNormals()
  File "C:\Users\Zorashi\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_tools\core\pmx\importer.py", line 795, in __assignCustomNormals
    mesh.use_auto_smooth = True
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Mesh' object has no attribute 'use_auto_smooth'
Zorashii commented 2 weeks ago

After doing a clean installation, the problem was solved. It looks like I made a mistake installing the dependencies, sorry for the confusion...