Unable to play animations from code

As far as I can see, your setup looks correct, so the animation should play on start without using the script. I suspect something is going wrong during import, possibly bone naming or a similar issue. The topic below might help.