Post by yukiimaru on Jul 26, 2024 17:34:25 GMT -5
So yeah i can't basically export a female pose rig from s4s to blend file. I was using the latest version of s4studio and tracked blender 3.6 for the studio.
The Sims 4 Studio - Version 3.2.2.4
System.AggregateException: One or more errors occurred. (Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\clipimporter.py", line 44, in <module>
load_clip(clip,rig)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\animation\blender.py", line 143, in load_clip
animate_bone(skeleton.pose.bones[ROOT_BONE])
KeyError: 'bpy_prop_collection[key]: key "b__ROOT__" not found'
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to EDIT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
Blender quit
)
---> S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\clipimporter.py", line 44, in <module>
load_clip(clip,rig)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\animation\blender.py", line 143, in load_clip
animate_bone(skeleton.pose.bones[ROOT_BONE])
KeyError: 'bpy_prop_collection[key]: key "b__ROOT__" not found'
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to EDIT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in X:\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 231
at S4Studio.Blender.BlenderUtilities.ExportClip(String custom_blend, String custom_clip, String mannequin_folder, String mannequin_texture, String rig_resource) in X:\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 441
at S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass152_0.<DoExport>b__0() in X:\TheS4Studio\S4Studio.Shared\ViewModels\Animation\AnimationPackCustomContent.cs:line 945
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 ---
The Sims 4 Studio - Version 3.2.2.4
System.AggregateException: One or more errors occurred. (Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\clipimporter.py", line 44, in <module>
load_clip(clip,rig)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\animation\blender.py", line 143, in load_clip
animate_bone(skeleton.pose.bones[ROOT_BONE])
KeyError: 'bpy_prop_collection[key]: key "b__ROOT__" not found'
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to EDIT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
Blender quit
)
---> S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\clipimporter.py", line 44, in <module>
load_clip(clip,rig)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\animation\blender.py", line 143, in load_clip
animate_bone(skeleton.pose.bones[ROOT_BONE])
KeyError: 'bpy_prop_collection[key]: key "b__ROOT__" not found'
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=None
Mode is now None
changing mode from None to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now EDIT
changing mode from EDIT to EDIT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x0000027493FBCF08>
Mode is now POSE
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in X:\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 231
at S4Studio.Blender.BlenderUtilities.ExportClip(String custom_blend, String custom_clip, String mannequin_folder, String mannequin_texture, String rig_resource) in X:\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 441
at S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass152_0.<DoExport>b__0() in X:\TheS4Studio\S4Studio.Shared\ViewModels\Animation\AnimationPackCustomContent.cs:line 945
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 ---