Problem With Walking Stairs Animation Looping

You can either use root motion climbing up a few steps and turning, or just animate the whole stair animation in Blender instead and teleport the character to the final position after the animation.