Set GameMode variables independently for each level

you need to use the GameInstance

this object is always active and can manage other variables like this gamemode if needed. so if you want to switch a level and add a different gamemode you can do it in this GameInstance

you set a custom gameinstance in the project options section (where all the options about graphics and inputs and the rest are located)

GameInstance is very important but is not covered by basic to mid level intro tutorials as many of those that create tutorials are not real unreal devs.

I’m no dev either so I’ve struggled to understand what is all this gamemnode and when to use them correctly.

this guy shows an overview of how to create where to add the custom gameinstance

also don’t get crazy with saving all your variables and meshes and everything in that class because you will have a very bad time.

Now that I’ve mentioned this I think unreal didn’t put focus on this class because is too powerful and beginners would had use that instead of figuring out how to communicate between blueprints