Need help with a LNK2019 error on my gamemode class trying to override a Game Mode Base function

Hello,

To create a save game system I am attempting to override a function in order to run some functions at startup.

This is what it looks like at the moment:
Header File:
image
CPP File:
image

(hopefully these images upload properly)

My error message is this one (the message is so long this is going to take several screenshots to cover):


Does anyone have any clue what could be causing this? Thanks.

Ask for any extra information you may need and I can probably provide it.

You have declared a constructor but haven’t defined it.

If you don’t need a constructor:

  • don’t declare it. (remove AParanoiaDefaultGameMode() from class definition)
  • mark constructor default => AParanoiaDefaultGameMode() = default;

If you need some setup, then define constructor in cpp.

AParanoiaDefaultGameMode::AParanoiaDefaultGameMode()
{
  // blablabla
}