Failed to spawn player controller, GameSession is null

I moved the map files to another folder, after that this error appeared. I have no idea what might be causing it. As you can see in the screenshot, all settings are set, why GameSession is null - I have no idea.

This also happens with unreals standard Game Session class, so this is not a problem with the Advanced Sessions plugin.

Also this happens to all levels i have except main menu which dont have any objects in it except widgets

The problem was my mistake in the code of the character that needed to be controlled.

Can you elaborate on what fixed this issue? I’m also facing this and I’m not sure which point in the chain is the problem.

I had same the error. In my case I had a custom Game Mode derived class and override the InitGame function. The mistake was that I didn’t call the base class InitGame function.

See InitGame.

4 Likes