Post by AleNikSimmer on Jul 2, 2020 7:42:54 GMT -5
This is the error:
The Sims 4 Studio - Version 3.1.3.4
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name]
IndexError: bpy_prop_collection[index]: index 2 out of range, size 2
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>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 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name]
IndexError: bpy_prop_collection[index]: index 2 out of range, size 2
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
What happened: I cloned a pair of glasses, made my own mesh, deleted EA one and uploaded on S4S. Everything was ok, I even checked in game after adjusting it several times (weights, shape, vertex paint) till I got the result I liked. Then I copied the blender file and tried to bevel a couple of loops. In blender everything was fine but when uploading in s4s this error occurred. I said okay, no bevel. After some time I copied again the blender file that worked and changed the weights again cause I didn't like how it distorted, and again I had the same error from s4s.
I tried to clone the glasses again but I had the same error, but if I upload the last working blender file it goes fine. Do you know that the problem could be? I read the message but I can't understand where the problem is since I haven't touched any GEOM.
The Sims 4 Studio - Version 3.1.3.4
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name]
IndexError: bpy_prop_collection[index]: index 2 out of range, size 2
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>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 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name]
IndexError: bpy_prop_collection[index]: index 2 out of range, size 2
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
What happened: I cloned a pair of glasses, made my own mesh, deleted EA one and uploaded on S4S. Everything was ok, I even checked in game after adjusting it several times (weights, shape, vertex paint) till I got the result I liked. Then I copied the blender file and tried to bevel a couple of loops. In blender everything was fine but when uploading in s4s this error occurred. I said okay, no bevel. After some time I copied again the blender file that worked and changed the weights again cause I didn't like how it distorted, and again I had the same error from s4s.
I tried to clone the glasses again but I had the same error, but if I upload the last working blender file it goes fine. Do you know that the problem could be? I read the message but I can't understand where the problem is since I haven't touched any GEOM.