I’ve been using ue4 for almost a year but I didn’t realize that opening a new level will reset all the variables to default.
so I’ve got a menu with graphic settings that can be modified both through the main menu and in game menu, but bcz the main menu is in a different level, when the player starts the game it will open a new level and all the settings get reset to default, making the main menu totally useless, how can i carry over all the settings to any level?
That would be with the game instance!
When creating one, make sure to set it in project settings/maps&modes
Afterwards, you can just call it in the blueprint that you need.