Missing '#Pragma once'

The “ShooterCharacter.generated.h” file belonging to my ShooterCharacter.h file was accidentally included in the .cpp file of another class (“BaseItem.cpp”). Because of this, I was getting an error due to reinclusion. I went and deleted the include from that file and the error was fixed. If this is the cause of your error, you don’t have to change the file name.

2 Likes