Post by pashkamilk on Jul 24, 2023 12:49:48 GMT -5
The path to the blender is specified. When exporting a sim model, the following error occurs
The Sims 4 Studio - Version 3.2.0.8
System.AggregateException: One or more errors occurred. (Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\clipsetup.py", line 24, in <module>
mannequin_material = load_material('BaseTexture', u'C:\\ProgramData\\S4Studio\\Scripts\\26f74dfe-bd77-4743-b54b-5a3ce1ea26e3\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 95, in load_material
texture_index = add_texture_to_material(material, map_name, img, texture_index, is_cas)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 42, in add_texture_to_material
output_node = material.node_tree.nodes["Material Output"]
KeyError: 'bpy_prop_collection[key]: key "Material Output" 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 0x00000199A3FE0808>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
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 0x00000199A3FE0808>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
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\clipsetup.py", line 24, in <module>
mannequin_material = load_material('BaseTexture', u'C:\\ProgramData\\S4Studio\\Scripts\\26f74dfe-bd77-4743-b54b-5a3ce1ea26e3\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 95, in load_material
texture_index = add_texture_to_material(material, map_name, img, texture_index, is_cas)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 42, in add_texture_to_material
output_node = material.node_tree.nodes["Material Output"]
KeyError: 'bpy_prop_collection[key]: key "Material Output" 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 0x00000199A3FE0808>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
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 0x00000199A3FE0808>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
Mode is now POSE
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.PrepareClip(String custom_blend, String mannequin_folder, String mannequin_texture, String rig_resource, Single duration)
at S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass150_0.<ExecuteCreateNewAnimation>b__0()
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.0.8
System.AggregateException: One or more errors occurred. (Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\clipsetup.py", line 24, in <module>
mannequin_material = load_material('BaseTexture', u'C:\\ProgramData\\S4Studio\\Scripts\\26f74dfe-bd77-4743-b54b-5a3ce1ea26e3\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 95, in load_material
texture_index = add_texture_to_material(material, map_name, img, texture_index, is_cas)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 42, in add_texture_to_material
output_node = material.node_tree.nodes["Material Output"]
KeyError: 'bpy_prop_collection[key]: key "Material Output" 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 0x00000199A3FE0808>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
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 0x00000199A3FE0808>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
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\clipsetup.py", line 24, in <module>
mannequin_material = load_material('BaseTexture', u'C:\\ProgramData\\S4Studio\\Scripts\\26f74dfe-bd77-4743-b54b-5a3ce1ea26e3\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 95, in load_material
texture_index = add_texture_to_material(material, map_name, img, texture_index, is_cas)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\s4studio\blender\__init__.py", line 42, in add_texture_to_material
output_node = material.node_tree.nodes["Material Output"]
KeyError: 'bpy_prop_collection[key]: key "Material Output" 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 0x00000199A3FE0808>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
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 0x00000199A3FE0808>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000199A3FE0808>
Mode is now POSE
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.PrepareClip(String custom_blend, String mannequin_folder, String mannequin_texture, String rig_resource, Single duration)
at S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass150_0.<ExecuteCreateNewAnimation>b__0()
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 ---