Closed evokra closed 2 years ago
FYI this is unlikely an issue caused by ACES color space as it already appears before ACES installation.
Is there an object (or material) in the character with a really short name (less than 4 characters)?
It's looking to strip out any blender duplicating suffix (object.001 -> object, etc...) but if the name is too short the test index is out of range...
Simple to fix.
Got it. It wasn't regarding object or material name but rather the exported FBX name itself. Just extend the name to more than 4 characters/numbers and it will import just fine.
As suggested by the title, an error message poped up upon importing the character to blender. This issue only appears with plugin version 1.2.2 - latest. The import seems to be incomplete as all materials includes only diffuse and normal map. The custom node group that comes with earlier version import is also missing. The detailed error message are as follows
Python: Traceback (most recent call last): File "C:\Users\Thomas ma\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cc3_blender_tools-1_3_3\importer.py", line 814, in modal self.run_import(context) File "C:\Users\Thomas ma\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cc3_blender_tools-1_3_3\importer.py", line 728, in run_import self.import_character(warn) File "C:\Users\Thomas ma\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cc3_blender_tools-1_3_3\importer.py", line 619, in import_character self.imported_character = detect_character(self.filepath, type, imported, actions, json_data, warn) File "C:\Users\Thomas ma\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cc3_blender_tools-1_3_3\importer.py", line 472, in detect_character chr_cache.add_object_cache(arm) File "C:\Users\Thomas ma\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cc3_blender_tools-1_3_3\properties.py", line 1310, in add_object_cache cache.source_name = utils.strip_name(obj.name) File "C:\Users\Thomas ma\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cc3_blender_tools-1_3_3\utils.py", line 512, in strip_name if name[-3:].isdigit() and name[-4] == ".": IndexError: string index out of range
location::-1