Editor Crash After Moving GameMode Blueprint

After moving the gamemode blueprint to a new location it loses the setting in Project Setttings → Maps and Modes and when trying to reset the default gamemode again it will show “Rebuilding Class Hierarchy” for up to 30 seconds then crash.

Hi ModeSix,

Have you upgraded to 4.8.2 yet? Can you reproduce this in a new project, or only your current project?

Please copy the information in the Crash Reporter window when this crash occurs and paste it here. Then, zip and attach the crash log from the project, which can be found in your project’s Saved\Logs folder. Thanks!

Hi Ben,

Yes I have upgraded to 4.8.2. This error occurred in both 4.8.1 and 4.8.2 in multiple projects.

No crash reporter window actually appears when this happens, the editor just hard exits without interaction.

I am attaching the crash log as you’ve asked as well as the log when it finally didn’t crash when trying to set the data.

Crash Logs

Hi ModeSix,

It does appear this is a similar crash to the one we fixed in UE-17673, though the hotfix implemented in 4.8.2 didn’t catch all instances. This is fixed in our internal release branch, however, so it will no longer occur in the next major release (probably 4.9).

It looks like this only happens after moving the GameMode or GameInstance to a new folder location, so avoiding that is the best option when possible. If not, open the DefaultEngine.ini file for the project (in the project’s Config folder) and search for GlobalDefaultGameMode. Change the folder location to None. Now you should be able to change it to the correct location in the editor (Project Settings > Maps & Modes).

Hope that helps! Thanks for the report.

Great, thanks for the response and help Ben. Appreciated.