- Home /
Why is my Animation View... incorrect?
I'm following a tutorial and I'm trying to add an event to a pre-existing animation I have on a player weapon. When I open the animation view there is no dropdown to choose a game object and having one selected beforehand from the heirarchy has no effect. I can not open the animation for some reason and I can not figure out why with my lowly amount of Unity understanding. There is only one dropdown in the Animation View and all it offers is New Clip. MY ANIMATION IS ALREADY LEGACY-IZED. I changed its type to '1' on the debug inspector.
Any help is super appreciated. I'm running into far too many insanely weird scenarios and starting to doubt Unity or the tutorial at this point.
Do you have an animation component on the GameObject you have selected? Does this animation component have the Animation Clip in its Animations list? Does the tutorial import an animation or create one in unity? Because imported animations are Read-Only you can not add keyframes or events to it using the Legacy system.
@GameVortex Am I correct that an Animation Component is the thing my second larger arrow is indicating in the screenshot? And that the Animations List is the "Element 0, Element 1" section of that component?
It has an ?animations list? containing AxeIdle and AxeSwing. AxeSwing is the animation I am attempting to edit. This ?Animation Component? is added to the hacha_malla_base_triangulada object which I have selected in the heirarchy.
The tutorial had me create both AxeIdle & AxeSwing in Unity.
@GameVortex That was it! I didn't realize that mattered. I'm new to Unity and am not even sure where the animator came from but that fixed it. Thank you much. Can I mark a comment as an answer? If not, just repost that and I'll mark you for it. Hopefully I can trudge my way through the initial learning curve and stick with Unity.
Glad that worked for you. =) I converted my comment to an answer so you can mark it as the correct one if you want.
Answer by GameVortex · Jan 09, 2014 at 03:15 PM
Sorry, I did not see the screenshot first. You are absolutely correct. The problem is that you can not have an Animation and an Animator component on the same GameObject, they would conflict with each other. That is why there are no animations showing in the list because it is sort of disabled because of the Animator component.
If you remove the Animator the list should appear properly after re-selecting the object.