SilentNightSound / GI-Model-Importer

Tools and instructions for importing custom models into a certain anime game
https://discord.gg/agmg
GNU General Public License v3.0
2.34k stars 339 forks source link

"tuple index out of range" Blender Plugin Error #255

Open TechnoSchnauzer opened 1 month ago

TechnoSchnauzer commented 1 month ago

I tried to import a dumped model and got this error.

Python: Traceback (most recent call last):
  File "C:\Users\diane\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_3dmigoto_gimi.py", line 2133, in execute
    import_3dmigoto(self, context, paths, **keywords)
  File "C:\Users\diane\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_3dmigoto_gimi.py", line 945, in import_3dmigoto
    obj.append(import_3dmigoto_vb_ib(operator, context, [p], **kwargs))
  File "C:\Users\diane\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_3dmigoto_gimi.py", line 977, in import_3dmigoto_vb_ib
    (blend_indices, blend_weights, texcoords, vertex_layers, use_normals) = import_vertices(mesh, vb)
  File "C:\Users\diane\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_3dmigoto_gimi.py", line 881, in import_vertices
    if len(data[0]) == 4:
IndexError: tuple index out of range

If the model I was trying to dump's files are important here they are: hash.json Pointed_Ear_DogHead-ib=6da32782.txt Pointed_Ear_DogHead-vb0=4ccbe27c.txt