Post by jxyvrs on Feb 13, 2024 17:50:48 GMT -5
Hello, I'm new to creating CC and when trying to export a mesh. I keep getting an error message saying this;
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\geomimporter.py", line 31, in <module>
mannequin_material = load_material('BaseTexture', mannequin_texture_file)
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'
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\jelly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
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 0x000001CF91512408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x000001CF91512408>
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 0x000001CF91512408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
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\geomimporter.py", line 31, in <module>
mannequin_material = load_material('BaseTexture', mannequin_texture_file)
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'
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\jelly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
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 0x000001CF91512408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x000001CF91512408>
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 0x000001CF91512408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
Mode is now POSE
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ExportGeom(String custom_blend, String custom_geom, String custom_texture, String caspart_name, String mannequin_folder, String mannequin_texture, String rig_resource, String shader)
at S4Studio.ViewModels.CAS.CASLODItem.ExportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass79_0.<ExecuteExportMesh>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 ---
Does anyone know what this mean? Please help me understand, this is my first time making Custom Content.
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\geomimporter.py", line 31, in <module>
mannequin_material = load_material('BaseTexture', mannequin_texture_file)
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'
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\jelly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
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 0x000001CF91512408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x000001CF91512408>
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 0x000001CF91512408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
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\geomimporter.py", line 31, in <module>
mannequin_material = load_material('BaseTexture', mannequin_texture_file)
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'
Warning: addon-module s4studio found module but without '__addon_enabled__' field, possible name collision from file: 'C:\\Users\\jelly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\s4studio\\__init__.py'
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 0x000001CF91512408>
Mode is now EDIT
changing mode from EDIT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
Mode is now POSE
changing mode from POSE to EDIT select=<bpy_struct, Object("rig") at 0x000001CF91512408>
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 0x000001CF91512408>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
ROTATING mode= OBJECT active=<bpy_struct, Object("rig") at 0x000001CF91512408>
changing mode from OBJECT to POSE select=<bpy_struct, Object("rig") at 0x000001CF91512408>
Mode is now POSE
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ExportGeom(String custom_blend, String custom_geom, String custom_texture, String caspart_name, String mannequin_folder, String mannequin_texture, String rig_resource, String shader)
at S4Studio.ViewModels.CAS.CASLODItem.ExportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass79_0.<ExecuteExportMesh>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 ---
Does anyone know what this mean? Please help me understand, this is my first time making Custom Content.