• 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 Immanuel-Scholz · Nov 14, 2013 at 10:22 PM · animationanimationcliplegacy

Create a legacy animation without a model

I would like to play an animation in Unity 4.3 that I created using the Animation Window that animates some properties.

However, Unity complains with

 The AnimationClip 'hint1' used by the Animation component 'X' must be marked as Legacy.

From other questions and googleing, I just found answers that suggest changing the Rig-type of the model where the animation was imported from.

The Problem is: I don't have any Rig, I don't even have any mesh nor model. I created the animation using the menu "Assets/Create/Animation". The anim just changes some script properties. All this worked perfectly fine in Unity 3.x before.

How do I set the legacy attribute, if I don't have any import dialog for rigs?

That is what my inspector of the animation looks like: (No "Legacy" setting)

alt text

clipboard01.png (23.6 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 Immanuel-Scholz · Nov 14, 2013 at 10:33 PM

Ok, already found it. It seems that animations created using "Assets/Create/Animation" are non-legacy animations. However, if I use the "[Create New Clip]" menu option from within the Animation Window it creates an legacy animation (only available on Instances of Animation components, not on prefabs.. for whatever reason).

alt text

Another option seem to be to open the corresponding *.anim file (switch to "Force Text" in Edit/Project Settings/Editor/Asset Serialization first). Then search for "m_AnimationType: 2" and change that to "m_AnimationType: 1".

Doesn't look like there is a GUI option to change the type (yet).


clipboard02.png (11.9 kB)
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
avatar image
9

Answer by Sicco · Nov 20, 2013 at 12:59 PM

You can also select the animation. Go to the inspector. Set the inspector to Debug mode. And set the animation type to 1 instead of the default of 2.

Comment
Add comment · Show 4 · 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 uchodhry · Nov 21, 2013 at 12:56 AM 0
Share

Thanks a lot just what i was looking for.

avatar image oscarkool · Jan 04, 2014 at 11:04 AM 0
Share

Same, I would upbote but I need 15 reputation :(

avatar image naetib · Mar 26, 2014 at 04:44 AM 0
Share

Thank you very much, I have searched this solution over 1 week :D

avatar image mfk · Apr 06, 2014 at 10:03 AM 0
Share

thankyou very much sicco .....this helped me a lot....

avatar image
0

Answer by marwanalkllisly · Apr 05, 2015 at 02:11 PM

or if you have unity 5, you can select the animation. Right click on the Inspector. Choose Debug mode, and check legacy. you can also choose the animation to loop.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

23 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

Related Questions

No way to create a new legacy animation clip anymore? 1 Answer

Unchecking legacy from animation clips not working 0 Answers

AnimationClip must be marked as Legacy 0 Answers

importing legacy animation fbx with mask 0 Answers

Legacy animation loop pose? (for walk/run clips) 0 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