Post by mandypandy on Aug 14, 2023 14:49:49 GMT -5
Hello!
First, thank you for reading! I'll try to keep this as brief as possible. I am no newbie to creating custom content and do it almost every day, but this is the first time I've had this problem. I have double and triple checked UV maps, Vertex Groups, Cut Numbers, you name it. I have tried Blenders 3.6, 3.3, 2.79b, and 2.76b to import this mesh. I have wiped and re-wiped cache's and made sure my antivirus isn't blocking anything. I've tried several different versions of Sims4Studio. I simply am out of ideas on what is wrong. :(
Attached is my Blender file.
drive.google.com/file/d/1SxuKz65ueyIZvmI-WjPmQaJnJac8N-CP/view?usp=drive_link
Here is the error code I am receiving:
The Sims 4 Studio - Version 3.1.6.3
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, 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.76\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.76\scripts\addons\s4studio\buybuild\blender.py", line 296, in save_mesh
offset = vbuf.buffer.write_vertices(vrtf, sim_mesh_data.vertices, uv_scales, pos_scales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 653, in write_vertices
self.write_vertex(vrtf, vertex, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 722, in write_vertex
raise e
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 718, in write_vertex
self.write_element(declaration, data, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 739, in write_element
self.writer.i16(value / uvscales[declaration.usage_index])
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 219, in i16
self.i(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 200, in i
data = int(data)
ValueError: cannot convert float NaN to integer
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.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 2, 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.76\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.76\scripts\addons\s4studio\buybuild\blender.py", line 296, in save_mesh
offset = vbuf.buffer.write_vertices(vrtf, sim_mesh_data.vertices, uv_scales, pos_scales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 653, in write_vertices
self.write_vertex(vrtf, vertex, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 722, in write_vertex
raise e
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 718, in write_vertex
self.write_element(declaration, data, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 739, in write_element
self.writer.i16(value / uvscales[declaration.usage_index])
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 219, in i16
self.i(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 200, in i
data = int(data)
ValueError: cannot convert float NaN to integer
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.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()<---
thank you for any help!
First, thank you for reading! I'll try to keep this as brief as possible. I am no newbie to creating custom content and do it almost every day, but this is the first time I've had this problem. I have double and triple checked UV maps, Vertex Groups, Cut Numbers, you name it. I have tried Blenders 3.6, 3.3, 2.79b, and 2.76b to import this mesh. I have wiped and re-wiped cache's and made sure my antivirus isn't blocking anything. I've tried several different versions of Sims4Studio. I simply am out of ideas on what is wrong. :(
Attached is my Blender file.
drive.google.com/file/d/1SxuKz65ueyIZvmI-WjPmQaJnJac8N-CP/view?usp=drive_link
Here is the error code I am receiving:
The Sims 4 Studio - Version 3.1.6.3
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, 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.76\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.76\scripts\addons\s4studio\buybuild\blender.py", line 296, in save_mesh
offset = vbuf.buffer.write_vertices(vrtf, sim_mesh_data.vertices, uv_scales, pos_scales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 653, in write_vertices
self.write_vertex(vrtf, vertex, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 722, in write_vertex
raise e
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 718, in write_vertex
self.write_element(declaration, data, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 739, in write_element
self.writer.i16(value / uvscales[declaration.usage_index])
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 219, in i16
self.i(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 200, in i
data = int(data)
ValueError: cannot convert float NaN to integer
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.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 2, 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.76\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.76\scripts\addons\s4studio\buybuild\blender.py", line 296, in save_mesh
offset = vbuf.buffer.write_vertices(vrtf, sim_mesh_data.vertices, uv_scales, pos_scales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 653, in write_vertices
self.write_vertex(vrtf, vertex, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 722, in write_vertex
raise e
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 718, in write_vertex
self.write_element(declaration, data, uvscales, posscales)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 739, in write_element
self.writer.i16(value / uvscales[declaration.usage_index])
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 219, in i16
self.i(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\io.py", line 200, in i
data = int(data)
ValueError: cannot convert float NaN to integer
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.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()<---
thank you for any help!