Creating a custom Game instance and setting it incorrectly in the DefaultEngine.ini causes a crash and a huge log file.
To Reproduce:
- Create a new C++ project
- Add a GameInstance class to the project, close editor and re-compile.
- Change the GameInstanceClass = “” line in DefaultEngine.ini to your custom instance.
- Launch the editor, and try to change the GameInstance in the Maps and Modes section of Project Settings.
- Receive crash
Here what I was using for that line. Of course, I now realise it’s because the path is wrong, but I’m not sure it should be hard-crashing like that.
GameInstanceClass=/Script/Engine.BZGame_GameInstance