Blender-O3D-IO-Public
Blender-O3D-IO-Public copied to clipboard
New issue related to importing
Describe the bug
I try to import the front of a articulated bus mod I made, and it doesn't load up into blender, all that loads up is the dum gelenks and another part, in omsi 2 loads up just fine just not in blender, so if I wanted to add any modifications, I can't
To Reproduce
Everything relevant has been provided
Expected behaviour
I expected the entire front of the model to be imported to blender
Screenshots
I have provided the relevant screenshot of what gets imported.
Additional context
I will provide the error message here Python: Traceback (most recent call last): File "C:\Users#\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Blender-O3D-IO-Public_init_.py", line 133, in execute io_o3d_import.do_import(self.filepath, context, self.import_x, self.override_text_encoding, self.hide_lods) File "C:\Users#\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Blender-O3D-IO-Public\o3d_io\io_o3d_import.py", line 110, in do_import o3d = o3dconvert.import_o3d(o3d_bytes) File "C:\Users#\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Blender-O3D-IO-Public\o3d_io\o3dconvert.py", line 220, in import_o3d bone_list, off = import_bone_list(packed_bytes, off, l_header, bonus_header[0] & 1 == 1) File "C:\Users#\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Blender-O3D-IO-Public\o3d_io\o3dconvert.py", line 159, in import_bone_list nb = import_bone(buff, offset, long_triangle_indices) File "C:\Users#\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Blender-O3D-IO-Public\o3d_io\o3dconvert.py", line 85, in import_bone weights.append(struct.unpack_from("<If" if long_triangle_indices else "<Hf", buff, offset=offset)) struct.error: unpack_from requires a buffer of at least 33717 bytes for unpacking 6 bytes at offset 33711 (actual buffer size is 33712)