When I look straight up or straight down, the camera flips out and rotates extremely fast vertically.

I have a camera attached to a swing-arm, also I have changed the controller to max the pitch at -80 and 80. I’m not sure why but the pitch limits haven’t helped the problem. The camera just bugs out and goes all over the place when looking straight up or straight down. I’m sure its something simple but I can’t find anything on it in the forums. I think its rotating around the player when it goes up or down and maybe when it gets past the pitch limits is when it starts to happen. Can anyone shed some light on this?

Figured this out, it was because I had the camera component attached to my mesh. Attaching it to the capsule fixed the problem.