Post by angelholiday17 on Apr 1, 2022 9:23:31 GMT -5
hello everyone, im having this error when i try to export a mesh. what i did was update the game.
The Sims 4 Studio - Version 3.1.5.8
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomimporter.py", line 38, in <module>
mannequin_mesh = load_geom('geom', geom, {}, rig, mannequin_material)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\cas\blender.py", line 282, in load_geom
mesh.vertex_colors[color_index].data[loop_index].color = Color([c / 255.0 for c in vertex.colour[color_index][:3]])
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ExportGeom(String custom_blend, String custom_geom, String custom_texture, String caspart_name, String mannequin_folder, String mannequin_texture, String rig_resource)
at S4Studio.ViewModels.CAS.CASLODItem.ExportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass74_0.<ExecuteExportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomimporter.py", line 38, in <module>
mannequin_mesh = load_geom('geom', geom, {}, rig, mannequin_material)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\cas\blender.py", line 282, in load_geom
mesh.vertex_colors[color_index].data[loop_index].color = Color([c / 255.0 for c in vertex.colour[color_index][:3]])
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ExportGeom(String custom_blend, String custom_geom, String custom_texture, String caspart_name, String mannequin_folder, String mannequin_texture, String rig_resource)
at S4Studio.ViewModels.CAS.CASLODItem.ExportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass74_0.<ExecuteExportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
plz help
The Sims 4 Studio - Version 3.1.5.8
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomimporter.py", line 38, in <module>
mannequin_mesh = load_geom('geom', geom, {}, rig, mannequin_material)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\cas\blender.py", line 282, in load_geom
mesh.vertex_colors[color_index].data[loop_index].color = Color([c / 255.0 for c in vertex.colour[color_index][:3]])
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ExportGeom(String custom_blend, String custom_geom, String custom_texture, String caspart_name, String mannequin_folder, String mannequin_texture, String rig_resource)
at S4Studio.ViewModels.CAS.CASLODItem.ExportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass74_0.<ExecuteExportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomimporter.py", line 38, in <module>
mannequin_mesh = load_geom('geom', geom, {}, rig, mannequin_material)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\cas\blender.py", line 282, in load_geom
mesh.vertex_colors[color_index].data[loop_index].color = Color([c / 255.0 for c in vertex.colour[color_index][:3]])
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ExportGeom(String custom_blend, String custom_geom, String custom_texture, String caspart_name, String mannequin_folder, String mannequin_texture, String rig_resource)
at S4Studio.ViewModels.CAS.CASLODItem.ExportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass74_0.<ExecuteExportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
plz help