'Camera' is not a member of 'APawnTank'

Hello, I am using Visual Studio 2019 and after building my code, i get a lot of errors about the camera that is not a member of ‘APawnTank’ and i don’t understand why


Change the class UCameraCOmponent to class UCameraComponent in the header. There is two Capital letter in Component

1 Like

Oh my god, thank you so much. I must have looked over it 5 times and couldn’t figure it out.

This is the kind of mistake I often make :sweat_smile:
Can you mark the answer as a solution?

Sure, no problem :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms