Post by simsziz1998 on Oct 26, 2023 7:19:37 GMT -5
I got this error when I try to upload my blender file. This is my file "https://www.dropbox.com/scl/fi/bzcxn6af3ymr3v0jzz9rx/VimtoF1.blend?rlkey=uf4lhjfl7w40vopulx3ggzi7q&dl=0"
Blender
Sims 4 Studio 1.3.4.2 (Apple Blossom)
S4Studio.Blender.BlenderException:
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/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 "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 653, in write_vertices
self.write_vertex(vrtf, vertex, uvscales, posscales)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 722, in write_vertex
raise e
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 718, in write_vertex
self.write_element(declaration, data, uvscales, posscales)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 739, in write_element
self.writer.i16(value / uvscales[declaration.usage_index])
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/io.py", line 219, in i16
self.i(data, 16, order)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/io.py", line 200, in i
data = int(data)
ValueError: cannot convert float NaN to integer
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x00313] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x0009e] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4Studio.ViewModels.ObjectLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x000d7] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass49_0.<ImportMesh>b__0 () [0x00022] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <6f064ec3ebe048448397ea60b2ecded2>:0
Blender
Sims 4 Studio 1.3.4.2 (Apple Blossom)
S4Studio.Blender.BlenderException:
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/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 "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 653, in write_vertices
self.write_vertex(vrtf, vertex, uvscales, posscales)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 722, in write_vertex
raise e
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 718, in write_vertex
self.write_element(declaration, data, uvscales, posscales)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 739, in write_element
self.writer.i16(value / uvscales[declaration.usage_index])
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/io.py", line 219, in i16
self.i(data, 16, order)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/io.py", line 200, in i
data = int(data)
ValueError: cannot convert float NaN to integer
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x00313] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x0009e] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4Studio.ViewModels.ObjectLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x000d7] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass49_0.<ImportMesh>b__0 () [0x00022] in <6f064ec3ebe048448397ea60b2ecded2>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <6f064ec3ebe048448397ea60b2ecded2>:0