Post by evepahn on Mar 4, 2019 4:08:16 GMT -5
I know there is a dedicated thread for this but I couldn't figure out how to post this there.
I'm using the Mac version of Sims 4 Studio and I had changed some minor details of a chair mod I had downloaded from the sims resource. When I tried to import the blender file into Sims 4 studio this error message showed up (Thanks in advance for any help) :
Sims 4 Studio 1.3.0.0 (Apple Blossom)
S4Studio.Blender.BlenderException:
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 212, in save_mesh
apply_all_modifiers(blender_mesh)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/blender/__init__.py", line 135, in apply_all_modifiers
bpy.ops.object.convert(target='MESH')
File "/Applications/Blender.app/Contents/MacOS/../Resources/2.78/scripts/modules/bpy/ops.py", line 189, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x0038a] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:248
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x000a4] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x000e5] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:641
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass49_0.<ImportMesh>b__0 () [0x0000d] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:622
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00016] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Mac/UI/Core/S4SWindow.cs:168
I'm using the Mac version of Sims 4 Studio and I had changed some minor details of a chair mod I had downloaded from the sims resource. When I tried to import the blender file into Sims 4 studio this error message showed up (Thanks in advance for any help) :
Sims 4 Studio 1.3.0.0 (Apple Blossom)
S4Studio.Blender.BlenderException:
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 212, in save_mesh
apply_all_modifiers(blender_mesh)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/blender/__init__.py", line 135, in apply_all_modifiers
bpy.ops.object.convert(target='MESH')
File "/Applications/Blender.app/Contents/MacOS/../Resources/2.78/scripts/modules/bpy/ops.py", line 189, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x0038a] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:248
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x000a4] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x000e5] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:641
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass49_0.<ImportMesh>b__0 () [0x0000d] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:622
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00016] in /Users/A/Desktop/S4S/TheS4Studio/S4Studio.Mac/UI/Core/S4SWindow.cs:168