- Home /
Camera AnimationClip must be marked as Legacy?
I have a camera and I want to make it play a cutscene/intro animation. I created an animation "CameraIntro" using the Animation window and added the animation to my camera's Animation component.
I also added a script in my main camera to play the intro animation:
void IntroAnimation()
{
this.gameObject.animation.Play("CameraIntro");
}
However, I keep getting
warning : The AnimationClip 'CameraIntro' used by the Animation component 'Main Camera' must be marked as Legacy.
error: The animation state CameraIntro could not be played because it couldn't be found!
I saw solutions involving the "Rig" panel, but I cannot find one for the camera. Help please.
Hey $$anonymous$$rCodex, here are some related posts where I believe you can find your solution if you haven't already.
http://answers.unity3d.com/questions/575743/create-a-legacy-animation-without-a-model.html
http://answers.unity3d.com/questions/577801/animation-must-be-marked-as-legacy.html
Hope they help!
Thanks for the response $$anonymous$$ey_Less! I will look into it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613121905im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to set legacy on an animation? 1 Answer
Why isn't Cinemachine switching between cameras? 0 Answers
How to run 1 animation, then other 2 Answers
How to change values of animation? 0 Answers