Search code examples
c#-4.0xna-4.0

Guide.ShowSignIn(1, false) Value not in range exception


In a new Xna game I wroted this:

GamerServicesComponent gsc = new GamerServicesComponent(this);
gsc.Initialize();
Components.Add(gsc);

if(!GamerServicesDispatcher.IsInitialized)
    GamerServicesDispatcher.Initialize(Services);

And in the Update method

 if (Keyboard.GetState().IsKeyDown(Keys.S))
     if (!Guide.IsVisible)
         Guide.ShowSignIn(1, false);  // true doesn't solve it nor 2 or 4 as paneCount

I'm receiving a

Value does not fall within the expected range.

Anybody?


Solution

  • It seems that Guide.ShowSignIn() can't be used anymore. I Don't know the reason nor if it is really true. But I couldn't get it working with ShowSignIn.

    The way I had to login was by pressing the Home button. The Guide will appear and you can simply follow the Guide to login.