Search Issue Tracker

Fixed in 2017.2.X

Votes

5

Found in

5.4.0f3

Issue ID

821185

Regression

Yes

[AnimationWindow] cannot set keyframes with negative angle by editor script

Animation

-

How to reproduce:
1. Open the attached project
2. Open 1.unity scene
3. Select cube
4. Open animation view and move to 0:30 position (ensure recording on)
5. In the inspector of cube, under the Test script, set angles to <0,0,-30> and click the "Set" button
6. You can see a new keyframe created of <0,0,-30>, but if you drag in the AnimiationWindow, the keyframe will snap to be <0,0,330>;

Not reproducible: 5.4.0f2

FIX: new API call Set and Get Inspector Rotation allow user to set and get rotation as how it is displayed in Transform Inspector Windows. aka: euler representation is kept.

Comments (1)

  1. TMPxyz

    Feb 13, 2017 10:12

    The original workaround no longer works, check the video:
    https://youtu.be/GAHUJCwsW6k

    Could Unity consider promote the priority for this issue?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.