Game mode construction script not executed

I noticed the construction script in custom Game Mode classes are not executed, but event BeginPlay is.

Steps to reproduce.

  1. Create a blank project.
  2. Create a blueprint class of type Game Mode.
  3. Open Construction Script function in new Game Mode blueprint and add a Print string node.
  4. Set a break point on the Print string node within the Game Mode construction script.
  5. Set the default Game Mode project setting to the newly created Game Mode
  6. PIE and notice the construction script is never executed (the break point is never hit).

I can confirm this.
I recently tried to check/uncheck boolean variables based on other booleans in the game mode via construction script and this has absolutely no effect.

Hi guys,

After some research I found that this has already been reported and is JIRA UE-20786. Please follow that link to our Public Tracker to monitor the status and please feel free to vote on the issue while you are there.

Thanks,

TJ

This is still unresolved according to the tracker and it’s been years. Game Mode is a core class, and really needs to be rock solid. I’d much rather these bugs get fixed than get new shiny rendering features. I really love the engine and the work you guys do, so that’s the spirit I’m making this comment in.