Can't play animations using multiple model files

I imported several fbx files

  1. player.fbx (simple T pose with bat)
  2. player@shot1.fbx (animation)
  3. player@shot2.fbx (animation)

In rig settings, I selected animation type - Legacy. When I drag a player.fbx in scene, I can see the two animations in the animations inspector. I tried playing animation shot1 with code animation.Play(“shot1”). I see only bat animating but player is still in T pose. If I am playing animation files separately, I can see animation playing. But cant see whole player animation playing using code. I have gone through this doc also. What would be the problem??

go on rig and make sure its legacy on your fbx then make sure you are using animation not animator since its clips