Jump to content

Animator Help


Recommended Posts

Posted (edited)

Anyone familiar with animating willing to help out this complete newb? I created my first animation in blender, but when I try to import it into s4s, I got a long error message. I've checked that the pathway in settings is correct. Another WIP animation imported just fine. Just get the error message for this specific file.

 

This is the message:

The Sims 4 Studio - Version 3.1.5.8
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException: 
  File "<string>", line 1, in <module>
  File "<string>", line 23, in <module>
  File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\animation\blender.py", line 199, in save_clip
    set_context('POSE', skeleton)
  File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\blender\__init__.py", line 152, in set_context
    bpy.ops.object.mode_set(mode=mode)
  File "C:\Program Files\Blender Foundation\Blender\2.70\scripts\modules\bpy\ops.py", line 188, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is incorrect


   at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
   at S4Studio.Blender.BlenderUtilities.ImportClip(String custom_blend, String custom_clip, String prefix)
   at S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass153_0.<ExecuteImportAnimation>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException: 
  File "<string>", line 1, in <module>
  File "<string>", line 23, in <module>
  File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\animation\blender.py", line 199, in save_clip
    set_context('POSE', skeleton)
  File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\blender\__init__.py", line 152, in set_context
    bpy.ops.object.mode_set(mode=mode)
  File "C:\Program Files\Blender Foundation\Blender\2.70\scripts\modules\bpy\ops.py", line 188, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is incorrect


   at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
   at S4Studio.Blender.BlenderUtilities.ImportClip(String custom_blend, String custom_clip, String prefix)
   at S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass153_0.<ExecuteImportAnimation>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

Edited by Flitterbug

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...