I’m using UWP on Xbox One to ship an ID@Xbox game. I was in the middle of testing if my game can handle exiting to the Xbox home screen and signing out when I found a really weird error where my Game1() constructor gets called twice. I’m not sure what to make of this! Here are my steps:
- I launch my game from my laptop, sign in an XboxLiveUser and play a bit of my game.
- Press Xbox Home, go to My Game & Apps.
- Sign out of the current gamertag, sign in on another one
- Resume my game
- Game1() constructor gets called again and crashes the game when it tries to create a new GraphicsDevice because there’s already an instance of GraphicsDevice created from the first time Game1() was called.
Any ideas what’s causing this? This doesn’t seem like correct behavior to me.