LoginSignup
5
4

More than 3 years have passed since last update.

Unity The AnimationClip 'xxx' used by the Animation component 'xxx' must be marked as Legacy 対処法

Posted at

目的

Unityで以下のような警告が出たので、忘れないように記録に残す
「The AnimationClip 'xxx' used by the Animation component 'xxx' must be marked as Legacy」

開発環境

PC:macOS Catalina
エディター:Visual Studio for Mac
Unity:2020.1.7f1

内容

Unityでローディング画面でクルクル回るアニメーションを作成した際に、表題のような警告が出た

解決方法

作成したアニメーションを選択して、inspectorの右側にある三つの点(鍵マークの隣にある)をクリックすると、下記画像のようになります(animationがアタッチされているオブジェクトではなく、animation自体を選択します)

特に何も設定していなければ、Normalにチェックが入っているので、Debugを選択します
すると、inspectorが以下画像のようになります

ここのLegacyにチェックを入れるとタイトルにあるような警告は消えます
そして、DebugをNormalに変更して終了です

参考

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4