Search Issue Tracker

Won't Fix

Votes

3

Found in

Issue ID

767485

Regression

No

Prefab update (Apply) changes Rotate value

Animation

-

Creating or updating a prefab with a rotation applied, changes the rotation value.

repro:
-create a Cube
-Rotate the cube 90' on the x axis
-drag the cube from the scene into the Project window to create a new prefab...
(90' rotation becomes... 89.981 ... bug)
-select the Cube in the scene
-in the Inspector, enter 90 for x rotation and hit enter
-now click the "Apply" button in the Inspector to update the prefab...
(90' rotation becomes... 89.981 ... bug)

This is a regression from 5.2

Not repro in...
Version 5.2.4f1 (98095704e6fe)

repro in... 5.3.2p2, 5.4.0b4 & 5.5

Comments (3)

  1. Aldrick

    Dec 15, 2016 06:24

    what does "resolved.won't fix" issue mean?
    Does it mean it's a known issue for unity but they do not intend to fix it?

  2. ScottPeal

    Sep 11, 2016 00:32

    Why in the world is this set to wont fix? Reproduce:

    GameObject myPrefab = (GameObject)Resources.Load("Prefabs/CubeTest/TestCube", typeof(GameObject));

    GameObject instanceBase = (GameObject)Instantiate(myPrefab, new Vector3(0, 0, 0), Quaternion.identity);
    instanceBase.transform.Rotate(-90, 0, 0);

  3. ScottPeal

    Sep 11, 2016 00:30

    I have this exact same issue. Import the prefab with no rotate is (0,0,0). Apply a -90 degree rotation for FBX file fix and get (-89.981,0,0)

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.