My project uses a number of maps - which started out as clones of the Third Person Template Map.
One of those maps is a main menu map, which has an actor in it with a widget component. This is my editor start up map.
If I attempt to load another map - 50% of the time, the editor crashes.
Start a project - make changes to blueprints - save all, then attempt to load another map - and around about 75% of the load process, the editor crashes.
I’ve had one crash where I managed to get some more information at the time of the crash - it seems to be during map cleanup - maybe its cleaning up the old map before loading the new one.
The other way to get this to crash is when changing maps, a pop up box comes up with a list of changed assets as you must save before proceeding, and if you do continue by telling UE4 to save - then it crashes while loading the map.
I now run my own version of UE4 built out of the source - so I can see what errors occur during crashes.
From what I can tell, the crash while changing map occurs after modification of a blueprint that then requires saving. It does not matter if you save all, save the edited blueprint, or wait for the dialog box to pop up asking if you want to save assets, the crash will usually occur around 75% of loading the new map.
The crash for me, is in EditorServer.cpp line 1929. The map is still around trying to load. (Object is not currently rooted).
Its a bit of a mystery as to why the map it lists as still around trying to load is the map that I currently have loaded, not the one i’m trying to load.
This problem has been with me now since UE4.16 and i’m using 4.19 and still have it!