Use DontDestroyOnLoad for data that should survive scene changes while the game is running.

DontDestroyOnLoad(gameObject);

Typical persistent manager:

public static GameData Instance;

Remember:

DontDestroyOnLoad
= survives scene changes

save file
= survives closing the game