Post by xandriw on Aug 11, 2024 22:28:24 GMT -5
When trying to import a mesh
Sims 4 Studio 1.4.2.2 (Aurora)
S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 17, in <module>
mlod.write(mlod_stream)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/buybuild/geometry.py", line 353, in write_rcol
for mesh in self.meshes: mesh.write(stream, rcol)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/buybuild/geometry.py", line 190, in write
s.u32(rcol.get_block_index(self.material))
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 318, in write_rcol
s.u32(rcol.get_block_index(state.material))
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 254, in write_rcol
self.material_block.write(material_block_stream, rcol)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 71, in write
item.write_pointer(stream)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 108, in write_pointer
t = type(self.value[0])
IndexError: list index out of range
register_class(...):
??????: 'PT_Shortcuts' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Edit' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Vertex_Weight' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Quick_Transfer' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Modifiers' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Shortcuts' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Edit' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Vertex_Weight' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Quick_Transfer' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Modifiers' ????????????????????????????????? '_PT_'
saving mesh geostate: 0
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
collecting mesh data from s4studio_mesh_0
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
25489 vertices split.
25489 vertices in mesh data
Calculated bounds {'dimensions': 3, 'min': [-0.43044620752334595, -0.0011597387492656708, -0.895379364490509], 'max': [0.43044620752334595, 1.5926264524459839, 0.82634437084198]}
restoring uv scale 0.0 at index 2
restoring uv scale 0.0 at index 3
skipping state 748895195
replacing state 0
replacing state 0
saving mesh geostate: 0
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
Mode is now OBJECT
collecting mesh data from s4studio_mesh_1
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
32 vertices split.
32 vertices in mesh data
Calculated bounds {'dimensions': 3, 'min': [-0.5068492889404297, 0.0, -0.9256359934806824], 'max': [0.5068492889404297, 0.011741694994270802, 0.9256359934806824]}
skipping state 748895195
replacing state 0
replacing state 0
changing mode from OBJECT to OBJECT select=None
Mode is now None
Exception in module unregister(): '/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/vyxated_cc_toolkit-2.py'
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x00322] in <521e0440203e4326bb5dd843bdd52615>:0
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x0009e] in <521e0440203e4326bb5dd843bdd52615>:0
at S4Studio.ViewModels.BuyBuildLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x00105] in <521e0440203e4326bb5dd843bdd52615>:0
at S4Studio.ViewModels.BuyBuildLodItem+<>c__DisplayClass47_0.<ImportMesh>b__0 () [0x00022] in <521e0440203e4326bb5dd843bdd52615>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass19_0.<BeginLoading>b__1 () [0x00014] in <521e0440203e4326bb5dd843bdd52615>:0
Sims 4 Studio 1.4.2.2 (Aurora)
S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 17, in <module>
mlod.write(mlod_stream)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/buybuild/geometry.py", line 353, in write_rcol
for mesh in self.meshes: mesh.write(stream, rcol)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/buybuild/geometry.py", line 190, in write
s.u32(rcol.get_block_index(self.material))
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 318, in write_rcol
s.u32(rcol.get_block_index(state.material))
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 254, in write_rcol
self.material_block.write(material_block_stream, rcol)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 71, in write
item.write_pointer(stream)
File "/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/s4studio/model/material.py", line 108, in write_pointer
t = type(self.value[0])
IndexError: list index out of range
register_class(...):
??????: 'PT_Shortcuts' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Edit' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Vertex_Weight' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Quick_Transfer' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Modifiers' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Shortcuts' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Edit' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Vertex_Weight' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Quick_Transfer' ????????????????????????????????? '_PT_'
register_class(...):
??????: 'PT_Modifiers' ????????????????????????????????? '_PT_'
saving mesh geostate: 0
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
collecting mesh data from s4studio_mesh_0
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_0") at 0x7f8e214d0c08>
25489 vertices split.
25489 vertices in mesh data
Calculated bounds {'dimensions': 3, 'min': [-0.43044620752334595, -0.0011597387492656708, -0.895379364490509], 'max': [0.43044620752334595, 1.5926264524459839, 0.82634437084198]}
restoring uv scale 0.0 at index 2
restoring uv scale 0.0 at index 3
skipping state 748895195
replacing state 0
replacing state 0
saving mesh geostate: 0
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
Mode is now OBJECT
collecting mesh data from s4studio_mesh_1
changing mode from OBJECT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
changing mode from OBJECT to EDIT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("s4studio_mesh_1") at 0x7f8e214d1208>
32 vertices split.
32 vertices in mesh data
Calculated bounds {'dimensions': 3, 'min': [-0.5068492889404297, 0.0, -0.9256359934806824], 'max': [0.5068492889404297, 0.011741694994270802, 0.9256359934806824]}
skipping state 748895195
replacing state 0
replacing state 0
changing mode from OBJECT to OBJECT select=None
Mode is now None
Exception in module unregister(): '/Users/[UserName]/Library/Application Support/Blender/3.3/scripts/addons/vyxated_cc_toolkit-2.py'
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x00322] in <521e0440203e4326bb5dd843bdd52615>:0
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x0009e] in <521e0440203e4326bb5dd843bdd52615>:0
at S4Studio.ViewModels.BuyBuildLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x00105] in <521e0440203e4326bb5dd843bdd52615>:0
at S4Studio.ViewModels.BuyBuildLodItem+<>c__DisplayClass47_0.<ImportMesh>b__0 () [0x00022] in <521e0440203e4326bb5dd843bdd52615>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass19_0.<BeginLoading>b__1 () [0x00014] in <521e0440203e4326bb5dd843bdd52615>:0