Sprite disappearing from view when switching animations

Hi I’m not a noob to programming or unity at all. I’ve been working on a project for a while now and noticed that when i switch animations with one specific object it disappears from my scene. The object is on the top layer and nothing else is on the top layer. When i pause the game my sprite shows up right where it should be but in the game view you can’t see him. was wondering if this was a bug that people know about and how someone went about fixing it. thanks.

I’m an idiot sorry for posting this. if anyone else is having this issue check your z - position. for some reason mine was getting set to -24.54 for no reason at all but it was okay thanks