Post by bwu on Jan 1, 2023 14:06:02 GMT -5
I'm a beginner in making cc and wanted to create a neon light, i followed a lot of tutorials but every time I try to import the mesh I get this error message:
I also went back to see if the mesh I created could've been the problem so I exported the in-game mesh light again, made the smallest adjustment to it and imported it but I still get 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 "<string>", line 14, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\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.70\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.70\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 "<string>", line 14, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\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.70\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.70\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've been trying to find a solution for days but can't figure it out. (and yes my sims 4 studio is connected with blender version 2.7)I also went back to see if the mesh I created could've been the problem so I exported the in-game mesh light again, made the smallest adjustment to it and imported it but I still get the error..