Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

5.0.0b4

Issue ID

633747

Regression

Yes

Mecanim: Write Defaults is off but still changes non-animated properties

Animation

-

To reproduce this issue:

1. Import the attached package
2. Open 'AStartmenu' scene
3. Select 'UITransitionAnimator' in the hierarchy
4. It has an Animator which simply sets the camera position and does not touch any canvases
5. Select 'CanvasMain' or 'CanvasSettings' in the hierarchy and notice the position
6. Play the scene
7. Canvases are moved to pos=(0, 0, 0), rotation=(0, 0, 0)

8. Open 'UITransitionController' in the animator and select 'CanvasMainActive'
9. Enable 'Write Defaults' in the hierarchy
10. Play and notice that now everything works fine

Comments (1)

  1. DatThax

    Aug 11, 2020 09:19

    This isn't fixed, still happens with Unity 2019.4.7f1 and 2D Animation package version 3.2.3. It's very annoying that values are changed that shouldn't be.

    This bug makes it really difficult to mix setting values from code and animations and I don't want to create animations just to set values once.

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.