Camera doesn't respond to pitch inputs

I’ve moved from blueprints to C++ so I apologize if the answer is too simple.

I’ve been following this tutorial for a while and reached the camera section. The yaw inputs work but the pitch doesn’t. Any help? I’ve set bUsePawnControlRotation to true but it didn’t help. Thanks

Just fixed it by going to my character’s blueprint and setting the use control rotation to true. For some reason the C++ one won’t edit it.