How to reference data between scenes

Hi! I have two scenes, a “menu” and a “dungeon”. In the menu the player can select a race and a class. I want to be able to reference what class was selected in order to instanciate the correct class prefab. I poked around a little bit, and quickly realized that there are many ways to go about this. Would any of you have a standard or recommended way to go about exchanging data between scenes and between sessions? Ideally without (what I think might be) abusing playerprefs.

  1. Between scenes: static variables, DontDestroyOnLoad content or save data.
  2. Between sessions: save data.