{"id":3994,"date":"2014-03-15T11:32:37","date_gmt":"2014-03-15T15:32:37","guid":{"rendered":"http:\/\/elwinlee.com\/blog\/?p=3994"},"modified":"2017-01-17T11:10:09","modified_gmt":"2017-01-17T16:10:09","slug":"unity3d-animation-must-be-marked-as-legacy","status":"publish","type":"post","link":"https:\/\/www.elwinlee.com\/blog\/unity3d-animation-must-be-marked-as-legacy\/","title":{"rendered":"[FIX] Unity3D &#8211; Animation Must be marked as Legacy Warning"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-3996\" src=\"http:\/\/elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy01.png\" alt=\"unity-animation-legacy01\" width=\"600\" srcset=\"https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy01.png 700w, https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy01-300x30.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><br \/>\nI ran into this warning the other day when I tried adding an animation clip to an object &#8220;Animation Component must be marked as legacy&#8221;, and there was no obvious way to find and fix the legacy problem&#8230; After searching a little bit on the internet, I found this solution to fix the warning:<\/p>\n<p>Select the animation clip in your Project &gt; Go to the Inspector tab and clip on the &#8220;hamburger&#8221; button &gt; Then select &#8220;Debug&#8221;.<\/p>\n<p>The inspector options will change into debugging mode and there set the &#8220;Animation Type&#8221; from 2 to 1. Set the inspector mode back to &#8220;Normal&#8221; through the hamburger button and it&#8217;s fixed! No more legacy warnings!<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-3997\" src=\"http:\/\/elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy02.png\" alt=\"unity-animation-legacy02\" width=\"344\" height=\"370\" srcset=\"https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy02.png 344w, https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy02-279x300.png 279w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-3998\" src=\"http:\/\/elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy03.png\" alt=\"unity-animation-legacy03\" width=\"344\" height=\"300\" srcset=\"https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy03.png 344w, https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy03-300x262.png 300w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to fix animation warning &#8220;must be marked as legacy&#8221; in Unity3D<\/p>\n","protected":false},"author":1,"featured_media":3998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11,1079,255],"tags":[2419,213,995,1619,1960,1969,2009,2010,2332,2333,2334,2335,2336,2337],"class_list":["post-3994","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gaming","category-how-to-fix-stuff","category-technology","tag-animation","tag-project","tag-error","tag-fix","tag-component","tag-warning","tag-unity3d","tag-unity","tag-clip","tag-legacy","tag-mark","tag-debug","tag-animation-type","tag-inspector"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2014\/03\/unity-animation-legacy03.png","jetpack_shortlink":"https:\/\/wp.me\/p1mtRf-12q","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts\/3994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/comments?post=3994"}],"version-history":[{"count":2,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts\/3994\/revisions"}],"predecessor-version":[{"id":4475,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts\/3994\/revisions\/4475"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/media\/3998"}],"wp:attachment":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/media?parent=3994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/categories?post=3994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/tags?post=3994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}