So im trying to change the game mode in each level of a project that I am working on and ever since I have upgraded to 4.8.1 when I click on the GameMode Override in the world setting and a game mode is already in there the whole engine will crash and a bar will pop up saying “rebuilding class heiarchy” and it will not allow me to change the gamemode through the override. is there another way of changing the game mode from level to level or is this the only way? if so how do I fix it?
Thanks for the report! I was able to reproduce this in 4.8.1 as well as our internal build, and I’ve created a bug report for the crash (UE-17673). I’ll post here as soon as I see an update on it and have a timeline for the fix.
In the meantime, it appears that if you open the GameMode Blueprint once and compile/save it, the editor won’t crash when making adjustments in the World Settings tab. Please let us know if this is not the case for you.
I have the same issue when changing the default playercontroller but the workarounds are not working and I can’t override the project settings (I can but it would break the game)
Although I was able to modify it by selecting the new controller and clicking on “set selected asset…” (an arrow pointing to the left at the right of the combobox)
I did find one way of working around it to change the gamemode go to that panel and next to the gamemode override dropdown menu click the small YELLOW arrow to reset the override to “none” once you have done that you can change the the overrides and not have the engine crash you only have to do this the first time
This is a very similar issue, don’t know if it should be in a different thread or not. But I have a game mode defined in C++ and a player controller class defined in C++. When I create a new project, I can’t select my C++ game mode override and then select my player controller class because it is grayed out. But if I create a new game mode blueprint in the GameMode Override area by clicking the ‘+’ symbol, the default pawn class, HUD class, player controller class, and game state class are no longer grayed out, I can change them. So I have to create this new blueprint game mode, and then select my C++ player controller class, and then select my C++ game mode, and everything appears to work. When selecting my C++ game mode, the four “Selected GameMode” combo boxes are grayed out again, however my player controller class still shows my C++ player controller class because that is what was selected when I selected my C++ game mode.
It doesn’t appear to be related. This crash simply involves clicking the GameMode Override options in the World Settings tab in the Editor. You’re running into a completely different issue, sounds like. You can open a new post in Bug Reports, and we’ll assign someone to look into it.
I don’t believe it’s a bug, but I’m not 100% sure on that yet so I’ll get some C++ savvy people on it. Thanks!