Testing Animations And They Just Don't Seem To Work

So I’m planning to make a personal project and wanted to create the simplest gun I could think of. Two objects, one main gun and another the magazine. So I animate both the gun and the magazine in Maya, they’re both one object and I bake their animation. Followed shortly by exporting the singular gun object made up of the main gun and the magazine.

After importing it into Unity though, the animations don’t even play inside of the preview window. Changing the Animation Type to Legacy doesn’t work, which is a solution I’ve found elsewhere.

Is the gun rigged with bones?

No - the gun has to be rigged with bones.

Or just create very simple objects in Unity and animate them locally, since this is only for simple testing.