The engine ignores ErrorMessage returned from InitGame

I am trying to return an error message from AMyGameMode::InitGame but it doesn’t work. I found the place where InitGame is called from in UWorld::InitializeActorsForPlay and I found out that the returned error is never actually used by the calling code. Any chances to fix this?

In the mean time, how am I supposed to return an error if my game initialization fails?

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks