Here is my code:
UCLASS()
class FPSPROJECT_API AFPSProjectGameModeBase : public AGameModeBase
{
GENERATED_BODY()
virtual void StartPlay() override;
};
…and I’m getting an unresolved external on StartPlay(). Any ideas?
Here is my code:
UCLASS()
class FPSPROJECT_API AFPSProjectGameModeBase : public AGameModeBase
{
GENERATED_BODY()
virtual void StartPlay() override;
};
…and I’m getting an unresolved external on StartPlay(). Any ideas?
… do you have a StartPlay with the same signature in your cpp file?
Ah, that was the problem. I now have this in FPSGameModelBase.cpp:
void AFPSProjectGameModeBase::StartPlay()
{
Super::StartPlay();
}
…but now it won’t hit the breakpoint I set at Super::StartPlay(). Any ideas?
Do you have this configured as your default gamemode ?