- Home /
Problems with camera animations in Unity
I'm having issues with an animation of the camera in Unity. Can someone help me out? I've linked a video: http://youtu.be/eWlPSqKG8yA
Answer by N1warhead · Oct 06, 2014 at 01:02 AM
There's two things I can see you can do to fix this.
(A) - Attach the Camera to an Empty GameObject to it, and animate the Empty to do that animation. (That should in theory work) - But as well so should yours, but Cameras are WEIRD!
and (B) - Click on your Animation > Goto the top right of Inspector and click on the tiny thing with 3 lines with an Arrow beside it (next to the lock)
And change to Debug mode. Change the Animation type to (1) > Now remove the Animator Component and add > Animation Component > Put your Animation into it, make it play automatically > (YOU MAY HAVE TO PROGRAM IT TO KEEP PLAYING AND STUFF IF YOU WANT)
However that may be, it may already be a (1) Animation (Means Legacy), if it is, just change to Animation Component.
If you that works please mark as accept, if it doesn't, please feel free to message me and I can help you get this to work!
As N1warhead said, if you don't use the Animation component, I'd just delete it to be sure it's not the source of the problem. There's an error message appearing when you hit play about Default Clip or something not being found.
Your answer
![](https://koobas.hobune.stream/wayback/20220613164458im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
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
Good Game by One Person, Is it Possible? 2 Answers