Animator isn't playing correct directional idle animation

That’s great, now go prove it.

Anything with Animations / Animators / Mechanim:

Only consider the code AFTER you have done this critical step:

Always start with the Animator state machine and prove it works in isolation, no code at all: