For some reason I don’t have the ability to animate color values with the legacy animation system. I use legacy because it’s easier to use for fast iteration than mecanim is.
Does anyone know how I can fix this?
For some reason I don’t have the ability to animate color values with the legacy animation system. I use legacy because it’s easier to use for fast iteration than mecanim is.
Does anyone know how I can fix this?
It seems the new animation features brought in with 4.3 have broken some old behaviours. You’ll also find that you cannot animate sprite (ie, change the sprite in the dopesheet) with legacy animations.
As a work around, I believe you can add a script with a public color property that will work as expected in the animation editor. Then have that script set the main material color in it’s Update function. Not the greatest but it should work.
I found the solution!!! Well, another user did, but I’m posting it because this was such a headache for us:
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:
Don’t know if this will fix the problem for everyone, but it worked wonders for me after banging my head against a wall for a while.
-Sterling
Sr. Animator - Proletariat Inc.
Oh wow, just happened to be in my email when this reply came. If your just seeing symbols that means you need to save your project first. Unity only turns animation files into readable text once they are saved.
Bonus: Also, if I need to copy an animation to a prefab with a different path, I’ll open it in the text editor (Notepad++ for me) and do a find replace with new path names. Easier than redoing the same animation over and over.
Good luck!