-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New issue related to importing #94
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: