michael-gh1 / Addons-And-Tools-For-Blender-miHoYo-Shaders

Blender Addons and Tools for streamlining the character model setup when using HoYoverse Shaders.
GNU General Public License v3.0
227 stars 12 forks source link

Error while enabling the addon in blender 3.6.14 #125

Open ArSrNa opened 1 month ago

ArSrNa commented 1 month ago

I downloaded the add-on from the release v2.6.1, normally import to blender but it cannot enable directly. image

Errors are below:

Traceback (most recent call last):
  File "A:\Blender Foundation\Blender 3.6\3.6\scripts\modules\addon_utils.py", line 333, in enable
    mod = __import__(module_name)
  File "C:\Users\86138\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\setup_wizard\__init__.py", line 20, in <module>
    from setup_wizard.genshin_import_materials import GI_OT_SetUpMaterials, HSR_OT_SetUpMaterials
ImportError: cannot import name 'HSR_OT_SetUpMaterials' from 'setup_wizard.genshin_import_materials' (C:\Users\86138\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\setup_wizard\genshin_import_materials.py)

The blender version is 3.6.14

ArSrNa commented 1 month ago

The blender4.2 load and enable it normally image image

michael-gh1 commented 1 week ago

Hmm, for Blender 3.6, did you uninstall and then close Blender? And then re-open and try installing the addon? Or just try to install the new version?

I think that error happens if you just try to overwrite the old version with the new version