Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

2017.3 Animator Rotation Bug?

Discussion in 'Animation' started by mahu, Feb 2, 2018.

  1. mahu

    mahu

    Joined:
    Apr 6, 2014
    Posts:
    4
    After upgrading my project to 2017.3f3 I've stumbled upon a weird animator rotation issue.



    As the video shows, when I rotate the object using the axis, the Z rotation go to abnormally huge values. This issue does not happen when I translate or scale the object. If I set the value manually on the animation window, the bug does not happen, but if I set the rotation value on the inspector, the bug still happens.

    I've tested on a new project and the issue did not happen, I've tried to reimport all assets and downgrade to 2017.3.0f2 and 2017.2.0f3, I've also tried to change the rotation from Euler to Quaternion on the animation window, but none of it worked.

    I'm not sure if I'm missing something or it's a legit bug specifically in my project.

    Any help will be grealy appreciated, this is causing a major delay in my game development.

    [EDIT]
    Some more info:
    Since I use unity collab, I redownloaded the whole project in a new folder, started a new animation and it seemed to solve the problem. However, as soon as I closed and opened unity again, the issue came back.
    Also, I noticed if I type some specific angles, it won't bug. For example: angle 1 bugs, angle 2 does not, angle 3, 4, 5 and 6 bugs, but 7 does not, and so goes on randomly.

    I'm gonna send a bug report, this is is really annoying and time wasting trying to solve.
     
    Last edited: Feb 3, 2018
  2. mahu

    mahu

    Joined:
    Apr 6, 2014
    Posts:
    4
    I've sent a bug report with my project (Case 997311)
    I have imported the project with unity 2017.1, 2017.2, 2018b.
    The only thing that worked was to rollback the project to unity 5.6.
    I'm now using it until the case is solved.

    I'm going to post the resolution here, if there is any, in case anyone got this issue in the future. For now, going back to 5.6 solved it.
     
    Last edited: Feb 3, 2018
  3. daspiela

    daspiela

    Joined:
    Mar 5, 2015
    Posts:
    15
    I got the same bug in Unity 2017.3.1f1.
    Only workaround i found was to remember the rotation values for the keyframe and manually set them in the animation properties window (top left in your video) instead of setting them in the transform or in the scene window.
     
    Last edited: Mar 13, 2018
  4. Kingplay15

    Kingplay15

    Joined:
    Dec 15, 2017
    Posts:
    12
    Same here. I didn't have that problem in the first Unity version I used (2017.2 probably), just after upgrading to version 2017.3.0f3. Got stucked on this for hours to firgure out what I've done wrong lol
     
  5. daspiela

    daspiela

    Joined:
    Mar 5, 2015
    Posts:
    15
    And I don't know if this bug has something to do with it, but there is another bug in animation recording mode. When i select multiple gameobjects and I press on inspector -> transform -> rotation with RMB -> add key, it will be added as expected. But when i then leave the recording mode, all rotations will be set to 0 instead of their initial values.
     
  6. Kingplay15

    Kingplay15

    Joined:
    Dec 15, 2017
    Posts:
    12
    Actually this bug may be not that bad, cuz I now manually adjust the rotation values in the animation window and it's way more convenient :))
     
  7. daspiela

    daspiela

    Joined:
    Mar 5, 2015
    Posts:
    15
    Yeah, but using the rotation tool in the scene window would be even more convenient ;)
     
    giorgos_gs likes this.
  8. giorgos_gs

    giorgos_gs

    Joined:
    Apr 23, 2014
    Posts:
    466
    I still have this bug and I have 2018.2.2 Unity staff please pay attention in these forums.
     
  9. giorgos_gs

    giorgos_gs

    Joined:
    Apr 23, 2014
    Posts:
    466
    This is really strange and I am not able to use the animation tool. Now it doesnt cope and paste keyframes. I spend most of my time fighting with the tools (Unity) than making my 2d game. Its very frustrating.