GameMode Override is being Ignored when Travelling
So I'm not sure if this is just me not understanding the flow of UE4 correctly, or an actual issue, but I am having a problem with getting my game to load the GameMode override that is set in my level to load.
I have cooked my content, including the level, multiple times, to make sure it wasn't an issue with that, and have been searching through the engine code to figure out what is happening.
In UWorld::SetGameMode(const FURL& InURL), the GameClass in the line
the GameClass variable is always being set to NULL, causing the engine to load the DefaultGameMode that is set in the DefaultEngine.ini.
All of the other maps within this project load the correct GameMode, it just seems to be this one map for some reason.
asked Aug 23 '16 at 10:24 AM in Using UE4
There was a warning in the cook logs about being unable to find the Parent for the Blueprinted GameMode. For some reason, when using UnrealFrontend, the cooker cannot find the parent classes, however if I Cook Content For Windows from within Development Editor, it finds it fine. This isn't really an "answer" so to speak, but it is a temporary solution.
After you cook content from within Development Editor, it seems to work within UnrealFrontend up until I modify the classes that it couldn't find in anyway, at which point it returns to being unable to find the Parents.
answered Aug 24 '16 at 03:11 PM
Have you double-checked under Class Defaults of the blueprint that the parent class is set to the base GameMode blueprint?
answered Aug 24 '16 at 04:19 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here