Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Found a curve with both quaternion and euler bindings.

Discussion in 'Animation' started by Mister-D, Dec 10, 2015.

  1. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    just updtaed to unity5.3 and i get this error:
    "Found a curve with both quaternion and euler bindings. Curves should have only one or the other."


    i also have this warning in the inspector
    editorscreen.jpg
    i cant figure it out,all animations are set to humanoid, how do i fix this?
     
    Sep200 and Rosehardt like this.
  2. frogshark

    frogshark

    Joined:
    Apr 14, 2015
    Posts:
    5
    Having the same issue after updating to 5.3.
     
  3. Rosehardt

    Rosehardt

    Joined:
    May 12, 2013
    Posts:
    2
    Same, don't have warnings in Animator though
     
  4. frogshark

    frogshark

    Joined:
    Apr 14, 2015
    Posts:
    5
    Reported a bug with case number 753798
     
    Mister-D likes this.
  5. ctalmeida

    ctalmeida

    Joined:
    Sep 3, 2014
    Posts:
    13
    Same here many of my animations are giving this error.
     
  6. U-GeeN

    U-GeeN

    Joined:
    Mar 22, 2015
    Posts:
    95
    I even made some additive animations with quaternion interpolation on primitive objects and still get this error.
    Found a curve with both quaternion and euler bindings. Curves should have only one or the other.
     
  7. U-GeeN

    U-GeeN

    Joined:
    Mar 22, 2015
    Posts:
    95
    Is there a way to somehow force bindings through code for all animations?
    Cause I checked all the rotation parameters in AnimatorWindow and they all have a quaternion interpolation.
    This means either the Animator Window can't edit the animation parameter needed or this error is simply not true.
     
  8. Galaksinvartija

    Galaksinvartija

    Joined:
    Nov 19, 2012
    Posts:
    1
    We're using 5.3.1p1 and had this issue with a non-humanoid enemy that had several animation layers that were active at the same time. The base layer animation states didn't have 'write defaults' ticked, while the states on the other layers (which were masked only to control certain bones) did. Ticking 'write defaults' to the base layers states fixed the issue. Not sure if this is helpful in any way to you guys, but you could try messing around with the 'write defaults' tickbox (and making sure that it's consistent in all animations that are blended together) if you haven't already.
     
    Tethip and Mister-D like this.
  9. U-GeeN

    U-GeeN

    Joined:
    Mar 22, 2015
    Posts:
    95
    There is a "right configuration" for that.
    I tried to do a test player with primitive objects and additive animations.
    Doing it step by step worked pretty well.
    Although I only managed to make rotations with Quaternion interpolation. Eulers didn't work.
    And if there is a 360 degree swap somewhere it won't work.
     
    Sep200 likes this.
  10. bellatesla

    bellatesla

    Joined:
    Mar 28, 2015
    Posts:
    3
    The 'write defaults' tickbox worked perfect for me. I was stumped for a whole week. So glad it was just a tickbox setting and not a curve re-mapping problem.
     
  11. Sep200

    Sep200

    Joined:
    Jul 29, 2013
    Posts:
    13
    Exact same issue! Very annoying bug in Unity 5.3.
     
  12. Sep200

    Sep200

    Joined:
    Jul 29, 2013
    Posts:
    13
    Thanks! Ticking "Write Defaults" on all animations makes the console error at least rarer. But the inspector warning is still there -_-
     
    Last edited: Jul 18, 2016
  13. DavidGeoffroy

    DavidGeoffroy

    Unity Technologies

    Joined:
    Sep 9, 2014
    Posts:
    542
    The Quaternion and Euler error was a bug, and it has been fixed. If it's still happening to you, please file a bug, and provide us your animation clip.

    As for the warnings, if you are certain that none of your clips are animating bones used in the humanoid skeleton using Generic curves (maybe you have additional bones selected in the AvatarMask), then it's possibly a bug. Please file the bug with the relevant files attached
     
  14. U-GeeN

    U-GeeN

    Joined:
    Mar 22, 2015
    Posts:
    95
    Oh nice to hear, I go check it out
     
  15. StevenAIM

    StevenAIM

    Joined:
    Oct 8, 2015
    Posts:
    3
    In what version? because I had to revert from the latest Unity5 version (5.6.3) to 5.3.4 because 5.6.3 doesn't import animations when importing a blender (.blend) file, and 5.3.4 does import it correctly.