[C#]Reset scene entirely

So I have a game based on 2 scenes. the Main Menu scene , and the Game Scene…
When you first start the game and click Play , everything is allright, the game behaves normally.
If i pause the game and go to the main menu scene, then click play the scene isn’t competely reseted…it enters a wierd state…
I do have some static variables : Audiosources, some floats ints …
I’ve also tried this, but it doesn’t help

void Awake()
 {
      if(instance == null)
          instance = this;
 }
 
 void OnDestroy()
 {
      if(instance == this)
         instance = null;
 }

?

Well you dont pass much information, so one has a hard time knowing what you mean by ‘weird’.
As you said you have static variables, indeed they wont get reset automatically after laoding a scene you have do it.
If you use DonDestroyOnLoad() on any of your gameobjects, itll work fine if you go from menu->ingame but if you go from ingame->menu you might have a duplicate gameobject that messes thigns up.