Persisting variables across Level Changes in Unreal Engine
Today I’ve learnt about something called the Game Instance. This is an object that exists only once in our games, is created when the game starts, and torn down only when it ends. It persists across level changes, making it the ideal candidate for storing variables across level loads. It’s one of the first things …