*I have here a reproducible steps and zipped blank project with the bug in case you need to see more clearly.
Problem :
Apparently if a Widget uses MID ( stored in HUD ), the game will no longer be able to change map/ restartgame. Any attempt to unload the world will crash it. This has caused my game to be unable to change map/restartlevel.
Steps :
1)Setup Game & HUD so that it creates a Widget at the start of the game.
2) Create MID and store in HUD
2)Set the widget’s brush to refere to a Material Instance Dynamic
3)Type in console command ‘RestartLevel’ or Open another map
4) Witness glorious crash
I was able to reproduce this issue on our end. I have written up a report ( UE-21288) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. I did find that if I did not create the widget within the HUD blueprint that the editor would not crash. I hope this helps. Thank you for your time and information.
@ , maybe you can try to create it in other classes than HUD. Maybe that’s what he means. I’m not sure but as for us our system is very wired for it to be create via HUD .
The current workaround I’m using is to actually unhook the MID before changing level .
We do not crucially depend on it working at the moment. The only drawback momentarily is that additional loaded clients do not work since they initially load a map, then unload it in order to join a server.
I went ahead and double checked on this issue for you and I found that this issue has been resolved internally and that this solution should be available in a later release of the engine. I hope that this information helps.