Post by erinpaige on Jan 11, 2023 10:01:12 GMT -5
Hello!
I'm ~relatively~ new to creating CC for the Sims 4, but have successfully created 20 or so objects. This is the first time that I've received an error when trying to upload my mesh into Sims 4 Studio. I'm attempting to create a new mesh for one of the base game jungle gyms (Pirate Ship) and this is my first time dealing with a mesh that has multiple mesh groups, but I made sure that each piece that I replaced was in the correct mesh group, and followed the same naming and cut of the mesh groups that EA had.
Here's what I've tried or ruled out from other threads that I read:
The Error:
The Sims 4 Studio - Version 3.1.6.3
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>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\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
I'm ~relatively~ new to creating CC for the Sims 4, but have successfully created 20 or so objects. This is the first time that I've received an error when trying to upload my mesh into Sims 4 Studio. I'm attempting to create a new mesh for one of the base game jungle gyms (Pirate Ship) and this is my first time dealing with a mesh that has multiple mesh groups, but I made sure that each piece that I replaced was in the correct mesh group, and followed the same naming and cut of the mesh groups that EA had.
Here's what I've tried or ruled out from other threads that I read:
- Using current version of Sims 4 Studio
- S4S Studio CAS Tools are installed in Blender (using 2.79 and no other versions are installed)
- Sims 4 Studio file paths are all correct (although the error didn't mention permissions so I didn't think this was the issue)
- Nothing is hidden, un-selectable, or un-viewable
- Cut numbers are all different from each other and match the EA mesh
- Removed all doubles
- Reduced tris to 7,348 (which from what I've read seems reasonable?)
- Blender File: drive.google.com/file/d/1fz4DnlMgXMKQGQ-ecK_pvVEWAkr50xp3/view?usp=sharing
- Package File: drive.google.com/file/d/1DIKg5awIDlFVLhNbf53uHJPoDexgar5a/view?usp=sharing
- Sims 4 Studio File Paths: drive.google.com/file/d/1inETr3zyZdpJBtLbEekkmQCR5LtiT4_1/view?usp=sharing
The Error:
The Sims 4 Studio - Version 3.1.6.3
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>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\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---