Post by scyllasims on May 22, 2020 11:57:47 GMT -5
Alright, I normally try to figure these things out for myself, but I've tried many things for a few days without any success.
I've been trying to import a hair mesh that I made from scratch, only I keep getting a very long import time before it eventually just gives me an error message.
This hair is part of a project I'm doing and is the 4th one I have made in this way, so I'm not sure what I did this time that was different since I used one of the prefious three meshes to more quickly make this one if that makes any difference. Anyway, here is the error message, if someone could help me interpret its meaning:
The Sims 4 Studio - Version 3.1.3.3
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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()<---
The .blend file I am having an issue with is this one: www.dropbox.com/s/rqsliuazmywdmgz/MeshV1.blend?dl=0
Since I was never able to import the mesh, the .package file is literally just an unedited basegame mesh, but I will share that also, if that help: www.dropbox.com/s/qfx70nny8rsuwjp/%5BScylla%5DHair4V1.package?dl=0
I apologize if this is an issue that is always popping up, but I am at my wits end with this one. My error message looks like I made a right mess of this one somehow.
Thank you in advance!
I've been trying to import a hair mesh that I made from scratch, only I keep getting a very long import time before it eventually just gives me an error message.
This hair is part of a project I'm doing and is the 4th one I have made in this way, so I'm not sure what I did this time that was different since I used one of the prefious three meshes to more quickly make this one if that makes any difference. Anyway, here is the error message, if someone could help me interpret its meaning:
The Sims 4 Studio - Version 3.1.3.3
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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()<---
The .blend file I am having an issue with is this one: www.dropbox.com/s/rqsliuazmywdmgz/MeshV1.blend?dl=0
Since I was never able to import the mesh, the .package file is literally just an unedited basegame mesh, but I will share that also, if that help: www.dropbox.com/s/qfx70nny8rsuwjp/%5BScylla%5DHair4V1.package?dl=0
I apologize if this is an issue that is always popping up, but I am at my wits end with this one. My error message looks like I made a right mess of this one somehow.
Thank you in advance!