I forgot to mention that I was moving the camera with the middle mouse button so there's probably nothing wrong with the camera.
I just barely saw this reply for some reason. So rotating the camera works, but you’re not able to move the camera with wasd? (Sorry it’s been a few days, I don’t know how I missed the notification)