Post by suukanas on Dec 22, 2023 12:50:34 GMT -5
i keep getting this error when trying to export rigs and I don't know why. It was working fine before.
S4S version: Star 3.2.1.3
Blender Version: 4.0
Blender path:C:\Program Files\Blender Foundation\Blender 4.0\blender.exe
Blender s4s addon installed?: yes + enabled
The Sims 4 Studio - Version 3.2.1.3
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\\12fb07a0-e724-4759-b0f3-ed7e38f48838\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\s4studio\blender\__init__.py", line 103, 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\4.0\scripts\addons\s4studio\blender\__init__.py", line 57, in add_texture_to_material
base_bsdf.inputs[SPECULAR].default_value = 0
KeyError: 'bpy_prop_collection[key]: key "Specular" not found'
Reloading external rigs...
Reloading external metarigs...
xps_tools updater verbose is enabled
xps_tools Updater: Read in JSON settings from file
Loading DAZ
DAZ loaded
Load settings from C:/Users/[username]/import-daz-settings-28x.json
Add-on not loaded: 'spring_bones' cause: No module named 'spring_bones'
Add-on not loaded: 'blenderkit' cause: No module named 'blenderkit'
animation_layers_updater addon: Verbose is enabled
animation_layers_updater addon: Read in JSON settings from file
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\[username]\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
init
init
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 0x00000278A61EE408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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 0x00000278A61EE408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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\\12fb07a0-e724-4759-b0f3-ed7e38f48838\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\s4studio\blender\__init__.py", line 103, 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\4.0\scripts\addons\s4studio\blender\__init__.py", line 57, in add_texture_to_material
base_bsdf.inputs[SPECULAR].default_value = 0
KeyError: 'bpy_prop_collection[key]: key "Specular" not found'
Reloading external rigs...
Reloading external metarigs...
xps_tools updater verbose is enabled
xps_tools Updater: Read in JSON settings from file
Loading DAZ
DAZ loaded
Load settings from C:/Users/[username]/import-daz-settings-28x.json
Add-on not loaded: 'spring_bones' cause: No module named 'spring_bones'
Add-on not loaded: 'blenderkit' cause: No module named 'blenderkit'
animation_layers_updater addon: Verbose is enabled
animation_layers_updater addon: Read in JSON settings from file
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\[username]\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
init
init
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 0x00000278A61EE408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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 0x00000278A61EE408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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 ---
S4S version: Star 3.2.1.3
Blender Version: 4.0
Blender path:C:\Program Files\Blender Foundation\Blender 4.0\blender.exe
Blender s4s addon installed?: yes + enabled
The Sims 4 Studio - Version 3.2.1.3
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\\12fb07a0-e724-4759-b0f3-ed7e38f48838\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\s4studio\blender\__init__.py", line 103, 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\4.0\scripts\addons\s4studio\blender\__init__.py", line 57, in add_texture_to_material
base_bsdf.inputs[SPECULAR].default_value = 0
KeyError: 'bpy_prop_collection[key]: key "Specular" not found'
Reloading external rigs...
Reloading external metarigs...
xps_tools updater verbose is enabled
xps_tools Updater: Read in JSON settings from file
Loading DAZ
DAZ loaded
Load settings from C:/Users/[username]/import-daz-settings-28x.json
Add-on not loaded: 'spring_bones' cause: No module named 'spring_bones'
Add-on not loaded: 'blenderkit' cause: No module named 'blenderkit'
animation_layers_updater addon: Verbose is enabled
animation_layers_updater addon: Read in JSON settings from file
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\[username]\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
init
init
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 0x00000278A61EE408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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 0x00000278A61EE408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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\\12fb07a0-e724-4759-b0f3-ed7e38f48838\\mannequin.png')
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\s4studio\blender\__init__.py", line 103, 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\4.0\scripts\addons\s4studio\blender\__init__.py", line 57, in add_texture_to_material
base_bsdf.inputs[SPECULAR].default_value = 0
KeyError: 'bpy_prop_collection[key]: key "Specular" not found'
Reloading external rigs...
Reloading external metarigs...
xps_tools updater verbose is enabled
xps_tools Updater: Read in JSON settings from file
Loading DAZ
DAZ loaded
Load settings from C:/Users/[username]/import-daz-settings-28x.json
Add-on not loaded: 'spring_bones' cause: No module named 'spring_bones'
Add-on not loaded: 'blenderkit' cause: No module named 'blenderkit'
animation_layers_updater addon: Verbose is enabled
animation_layers_updater addon: Read in JSON settings from file
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\[username]\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
init
init
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 0x00000278A61EE408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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 0x00000278A61EE408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x00000278A61EE408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x00000278A61EE408>
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 ---