Player perspective camera disappears when compiling

I was trying to change the static mesh for the player model when this issue occurred. I opened the MyCharacter class blueprint and went into the Components section. I clicked on the Mesh component and imported the static mesh I was using. Upon trying to delete the default character model (I am using the First Person template so I had two floating arms with a gun), this caused a strange issue with the camera component.

When I try to compile the blueprint, the camera disappears. The camera component is still present in the components list, and when I change the value of any variable for the camera, it re-appears. Compiling the blueprint will only make the camera disappear again. The Compile button does display the error sign indicating that there was an issue compiling, and I would check the compile log but I don’t know where it is.

Trying to launch the game brings up an error message saying that a blueprint didn’t compile properly, and playing the game anyway spawns the new character model but with a default camera position (embedded in his torso) and I can’t move.

Thank you in advance for any help you can provide me.