Search Issue Tracker

Fixed in 5.4.0

Votes

83

Found in

4.3.1f1

Issue ID

581075

Regression

No

Can't animate color value of materials

Animation

-

In the animation window it is possible to enter a new value for any of the rgba channels and the curve changes appropriately, however the value is returned to the default after the enter button is pressed.

Reproduced with:
Unity Version 4.3.1f1 (cebd4d9b5122)
Unity Version 4.3.2f1 (0517a5ae8669)

[edit]
If you want to animate color values with the animation window with Unity 4.3+, you need to use the Animator component. The old component (Animation) is legacy and is not in active development anymore.

[edit]
You can convert the legacy animations to the new system to animate the material properties in the new Animation Window, take a look at this thread:

http://forum.unity3d.com/threads/how-convert-legacy-animations-to-the-new-system.269207/

Comments (63)

  1. Jeebumm

    Apr 01, 2014 14:10

    Come on - is this so hard to fix !?? You shouldn't touch it in the first place if it worked fine.

  2. Fluudkaster

    Apr 01, 2014 02:48

    4.3.4f1 and this issue is still here.

    Not sure if this was my fault or not, but my animation editor also forgot that I had an animation connected to my game object, so I lost all of my progress. Now only [Create New Clip] shows up on the list of clips.

  3. steambucky

    Mar 29, 2014 08:30

    This bug has been going on for a while...

    Any ideas of good work arounds? I am total NOOB though, so if you have any simple fixes and you'd like to PM them, please do. :) happy trails....

  4. Gaugeforever

    Mar 29, 2014 08:29

    It took me a very long time to find that this is broken. Very upsetting. This needs to be fixed ASAP IMO. It worked once before so I can only assume the code is out there somewhere.

  5. MaloSheeps

    Mar 28, 2014 17:26

    I hope this can get fixed soon. Have projects that are suffering because of it. It may not seem like a huge issue to many, but when you need it and have to do a work around, its very frustrating. Waiting to preorder Unity 5 until I know this issue is take care of.

  6. YpKiAyMrFalcon

    Mar 25, 2014 17:02

    I heavily depend on this feature to animate mesh FX simply and cheaply on LEGACY animations. Our current game is set up only to support them and not mechanim. With a small team, it would be rough to change over right now. Also, legacy animations are basic and straight-forward which is all we require. Please fix all issues related to material editing on Legacy animation.

  7. AMO_Noot

    Feb 28, 2014 23:17

    @sterlingr The fix sadly didn't seem to do anything for me. Even completely starting over, and using Animator to change .material_tint Color parameters seems to be completely broken, at least when I'm trying to change the material tint of my particles.

    Seriously though, why hasn't this been fixed yet? A bug like this only having a Severity of 2 is bizarre.

  8. AMO_Noot

    Feb 28, 2014 22:10

    @sterlingr

    How exactly do you edit the .anim file via Notepad++? It's gibberish for me.

  9. sterlingr

    Feb 14, 2014 15:47

    I found the solution!!!!

    The problem is that Unity has changed its Material keyframe formatting when it saves animation clips. If you need to use the legacy animation system here's how to fix it:

    Change animation type to 1
    open the clip in a text editor, and replace classID 23 with classID 21
    Still in the text editor, remove material. from the beginning of each Material attribute

    Unity, if I can fix this with a simple text edit, you guys should be able to.

    -Sterling Sr. Animator - Proletariat Inc.

  10. AracosDE

    Feb 09, 2014 13:18

    Yup this on is pretty annoying...

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.