|
Post by crabbycrown on Mar 2, 2024 17:06:35 GMT -5
Hi all! I am really struggling with this popup I get anytime I try to import a mesh. I'm just trying to finish it up, and this is the only roadblock standing in my way now. Is anyone able to tell me what it means? I have copied and pasted my layers onto an existing Sims4 mesh, and copied all the names of the layers, etc, but to no avail. Thank you in advance for the help.
The Sims 4 Studio - Version 3.2.1.4 System.AggregateException: One or more errors occurred. (Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module> save_geom(geom, o, body_type) File "C:\Users\deerl\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\cas\blender.py", line 133, in save_geom blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name] IndexError: bpy_prop_collection[index]: index 0 out of range, size 0 Registered nodes changing mode from OBJECT to OBJECT select=None Mode is now None changing mode from None to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> Mode is now OBJECT changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> Mode is now EDIT changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> Mode is now OBJECT ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> saving mesh...<bpy_collection[1], AttributeGroup> vertex_ids = None color_channels = ['Col']
Blender quit
) ---> S4Studio.Blender.BlenderException: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module> save_geom(geom, o, body_type) File "C:\Users\deerl\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\cas\blender.py", line 133, in save_geom blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name] IndexError: bpy_prop_collection[index]: index 0 out of range, size 0 Registered nodes changing mode from OBJECT to OBJECT select=None Mode is now None changing mode from None to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> Mode is now OBJECT changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> Mode is now EDIT changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> Mode is now OBJECT ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_1") at 0x000002CF9446DD08> saving mesh...<bpy_collection[1], AttributeGroup> vertex_ids = None color_channels = ['Col']
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 231 at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 371 at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASLODItem.cs:line 203 at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass76_0.<ExecuteImportMesh>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASStandalone.cs:line 443 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace ---
|
|
|
Post by mauvemorn on Mar 2, 2024 17:39:19 GMT -5
Hi. Please share the blend file and the package. Also, please tell us what version of blender the path leads to in s4s settings and what version you saved this file in
|
|
|
Post by crabbycrown on Mar 3, 2024 0:22:10 GMT -5
Oops! Of course-- The path to blender is C:\Users\deerl\Dropbox\My PC (LAPTOP-5Q32A6SM)\Desktop\Blender 3.6\blender.exe . If there's a better place to have it, let me know. I'm not super technologically advanced-- just enough to feel my way around in the dark, so go easy on me if I messed up, LOL. The blend file in question: sta.sh/01dffzixxjnu (let me know if the file isn't working and I'll post it elsewhere) I use Blender 3.6.1 with S4S 3.2.1.4 (Star). Thank you!
|
|
|
Post by mauvemorn on Mar 3, 2024 8:37:12 GMT -5
says "The page you wanted to visit doesn't exist! " It would be best to not install anything on the desktop, though. Try re-installing it in program files or on the d drive, then re-save again. If wont help, re-upload the file on mediafire.com please
|
|
|
Post by crabbycrown on Mar 3, 2024 13:42:37 GMT -5
My bad! Sorry about that. I guess it only works when logged into DA. Here's the new download for the blend file: www.mediafire.com/file/b01eh37zvqg222b/nephie.blend/fileRoger roger, I will reinstall elsewhere. I only put it there for easy access, but I'll let it go to my program files, as it was intended.
EDIT: Upon reinstalling Blender into program files, this is the error message while importing mesh:
The Sims 4 Studio - Version 3.2.1.4 System.AggregateException: One or more errors occurred. (Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module> save_geom(geom, o, body_type) File "C:\Users\deerl\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\cas\blender.py", line 133, in save_geom blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name] IndexError: bpy_prop_collection[index]: index 0 out of range, size 0 Registered nodes changing mode from OBJECT to OBJECT select=None Mode is now None changing mode from None to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> Mode is now OBJECT changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> Mode is now EDIT changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> Mode is now OBJECT ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> saving mesh...<bpy_collection[1], AttributeGroup> vertex_ids = None color_channels = ['Col']
Blender quit
) ---> S4Studio.Blender.BlenderException: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module> save_geom(geom, o, body_type) File "C:\Users\deerl\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\cas\blender.py", line 133, in save_geom blend_index = vertex_group_map[mesh_object.vertex_groups[int(vertex.groups.group)].name] IndexError: bpy_prop_collection[index]: index 0 out of range, size 0 Registered nodes changing mode from OBJECT to OBJECT select=None Mode is now None changing mode from None to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> Mode is now OBJECT changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> Mode is now EDIT changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> Mode is now OBJECT ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_1") at 0x000002435028CF08> saving mesh...<bpy_collection[1], AttributeGroup> vertex_ids = None color_channels = ['Col']
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 231 at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 371 at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASLODItem.cs:line 203 at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass76_0.<ExecuteImportMesh>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASStandalone.cs:line 443 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace ---
EDIT 2: Upon reinstalling Blender into the documents on my D drive, I still get a similar barrage of errors.
|
|
|
Post by crabbycrown on Mar 3, 2024 22:46:01 GMT -5
An update:
after fiddling another great amount, I decided to try opening an untouched mesh i grabbed straight from Sims, moving a strand of hair, then importing it to S4S... it works. But when I use my OWN mesh, joined to the same Sims4 hair and then deleting the vertices of the Sims4 hair to just show my own, it doesn't work and I get the above error. So it must be my own mesh, correct? Something with it must be wonky?
|
|
|
Post by mauvemorn on Mar 4, 2024 7:09:51 GMT -5
when I use my OWN mesh, joined to the same Sims4 hair and then deleting the vertices of the Sims4 hair Well, the problem is that the mesh is not adapted to ts4 at all.
Im not sure what exactly s4s is having problems with ( presumably, switching between blenders?), but you'll have to re-do everything anyway, so do it exactly like this: - open the blend, select one hair mesh, File - Export - Wavefront, enable Selected only, export, close this blend. You must do it like this so that everything beside the shape and the uv map will be deleted; - open s4s, open Settings, change Blender path to blender.exe in blender 4 installation folder; - clone yfHair_ShortStraightPixie, export the blend; - delete hat chops, rename the base shape to Reference; - import your hair again; - create hat chops and lods. If you dont want, continue to use the buzzcut package; - create other maps, as explained in that tutorial
In the future, never transform the mesh in object mode, always in edit mode.
|
|
|
Post by crabbycrown on Mar 4, 2024 14:01:24 GMT -5
*bow bow*
Thank you so much, thank you so so so much, ahhh! I did switch between blender versions at a few points because I thought that was the issue, therefore saving on different blender programs happened! I am so relieved. I appreciate all the help, thanks again Mauvemorn!!!!
|
|