|
Post by SIMANDY on Oct 13, 2024 23:04:46 GMT -5
I tried my best solving this one alone but I can't figure what sims4studio wants to tell me with this error message. It occurs when I'm trying to import a blend file. Here's a transcript:
Blender Erroг Traceback (most recent call last): File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module> save_geom(geom, o, body_type) File "C:\Users\W-10\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\s4studio\cas\blender.py", line 150, in save geom blender_color = get_color(mesh_data, color_channel, loop_index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\W-10\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\s4studio\blender_init__.py", line 238, in get_color return mesh_data.color_attributes [color_index].data[loop].color_srgb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ IndexError: bpy_prop_collection[index]: index 7557 out of range, size 7557 Context: I'm trying blender 4.2, but my s4s won't accept it for some reason, so I use 4.1 to export the mesh, edit it with 4.2, then tried to import it back again and got the error. I tried to edit the file in 4.1 then import it from there, but no deal.
|
|
|
Post by SIMANDY on Oct 15, 2024 14:05:57 GMT -5
Figured it out! This issue was caused by the Behemox Hair Generator Add-on, because it's meshes are configured with a thing called "Color Attributes". I don't know the use of this feature (mostly because I don't need to) but it's unsupported on the sims 4, we simply don't use them. S4S can't read them for this reason and I noticed them in the corner of my screen. Simply deleting the extra ones and leaving the "color0" one solves the issue!
|
|