- Home /
The question is answered, right answer was accepted
Animator.Rebind didn't work.
Hi i made a post and @meat5000 nicely uggested animator.rebind but it didn't work. i have no idea what to do its running an old animation help???
EDIT:
JUST TO BE CLEAR this is NO LONGER A DUPE because animator.rebind DID NOT WORK.
EDIT 2:
the previous question:
http://answers.unity3d.com/questions/902346/nullreferenceexception-and-resulting-animator-not.html
Hmm even looking at the other post there's just not enough information. If you tried exporting from Blender with a new name, maybe? Also try clicking the fbx and checking it out in the inspector. Is the animation working properly there?
yes it is. it works fine unless in the game or scene view :(
@DP90 I also tried deleting the animator controller ALTOGETHER. STILL NOT WOR$$anonymous$$ING :(
my project is linked above. could you do me a favor and just check it out when you get a chance?
Answer by DP90 · Feb 16, 2015 at 04:10 PM
All right so as you can see you are missing a bone on your player skeleton. That's why the arm isn't bending the way you want. It's playing the animation properly.
I confirmed it by clicking the animation and then dragging "player" game object to the preview. The arm will not bend.
Why not just use the "Player Functions" file instead of re-applying animations from other files? It works fine there.
Ohh..!!! That's why! I changed the bones recently! Thanks so much!!! :D