Where does gamemode save?

I have a Level call ‘StarterMap’ which is a Level defaultly created by the editor after the project created.

I change my GameMode of that Level. Trigger the save button on both level and resource.

After that of course my Level has been modified.

But after i commit my resource and pull it from another repository.The GameMode saved in that Level has disappeared.

Finally.I figured out if i delete the Saved folder in my project after i set the GameMode. The GameMode will also disappear.Which point out the GameMode is saved in the Saved folder of the project.

So how exactly where the GameMode save in?

Well… The problem has solved. The reason is because the Level is ‘StarterMap’ which is the content of StarterContent
In DefaultGame.ini of the project will trigger the move action from engine StarterContent folder to my project folder.

DefaultGame.ini
......
[StartupActions]
bAddPacks=False
InsertPack=(PackSource="StarterContent.upack",PackName="StarterContent")
......

Modify the ‘bAddPacks’ to False will solve the problem.
Also remember to tirgger fix up redirectors in folder in your editor