Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ragnaros100 · Jan 21, 2014 at 12:11 PM · animationcolorissuelegacycolors

Legacy animation system cannot animate colors?

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?

alt text

legacyanim.gif (275.7 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by MakinStuffLookGood · Jan 21, 2014 at 04:35 PM

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.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ragnaros100 · Jan 21, 2014 at 04:37 PM 1
Share

Oh wow... They should really fix this sometime... Thanks anyways :)

avatar image larku · Jan 30, 2015 at 03:39 AM 0
Share

Sorry for going Off Topic - but how do you make these small videos like the one in the OP? (what tool is used?)

avatar image ABerlemont larku · Jan 28, 2016 at 12:30 PM 0
Share

Gifcam http://blog.bahraniapps.com/gifcam/ :)

avatar image
4

Answer by sterlingr · Feb 14, 2014 at 03:39 PM

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:

  1. Change animation type to 1

  2. open the clip in a text editor, and replace classID 23 with classID 21

  3. Still in the text editor, remove material. from the beginning of each Material attribute

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HendrysTobar · Jan 29, 2015 at 11:36 PM 0
Share

I open the clip in a text editor, but I can't find the CLassID 23 property. Also It shows a lot of garbage characters, isn' it a binary file?

avatar image larku · Jan 30, 2015 at 01:17 AM 0
Share

@HendrysTobar you might have binary asset serialization turned on. Change this to "Force Text" [Edit->Project Settings->Editor] -> Asset Serialization

avatar image
0

Answer by sreames · Jan 30, 2015 at 03:31 AM

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!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

RGB Colors as Float Values Converter 0 Answers

How to edit legacy animation 1 Answer

Unity not playing Legacy animation 0 Answers

Mark As Legacy Animation... 2 Answers

Mecanim transitions sometimes don't work 4 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges