soupday / cc_blender_tools

Add-on for Blender, for importing and auto-setup of character creator 3 & 4 and iClone 7 & 8 character exports into Blender.
GNU General Public License v3.0
446 stars 80 forks source link

v2.0.7 issue when attempting to import with Rigify #228

Open 0xCarnival opened 5 months ago

0xCarnival commented 5 months ago

This is the error that I get:

Python: Traceback (most recent call last): File "/Users/x/Library/Application Support/Blender/4.1/scripts/addons/cc_blender_tools-2_0_7/importer.py", line 1258, in modal self.run_finish(context) File "/Users/x/Library/Application Support/Blender/4.1/scripts/addons/cc_blender_tools-2_0_7/importer.py", line 1157, in run_finish for chr_cache in self.imported_characters: TypeError: 'CC3CharacterCache' object is not iterable

gpotte commented 4 months ago

I'm having the same issue on a model that my coworkers have no issue importing and rigging

soupday commented 4 months ago

What type of character is it? Standard CC3+, Gamebase, ActorCore, AccuRig, Humanoid? And is there a .json file with the character?

soupday commented 4 months ago

I think there's a case where if there's no json file with the character it won't recognise a reallusion character, even if it's valid.

Edit: Confirmed there is a case, if there is no .json file, no .fbxkey file and no textures/ folder then it won't recognise a Reallusion character and generates this error.

Fixed in 2.0.8 Dev branch.

Though the character won't have any textures as they are missing?

gpotte commented 4 months ago

I'm using a rig from accurig and the export has no JSON file attached to it. But i'm using the same file and the same version of the plugin has my coworker that doesnt come across this issue tho.

soupday commented 4 months ago

Different version of the add-on maybe? Or your coworker has the textures and you don't?