-
Notifications
You must be signed in to change notification settings - Fork 62
UserProfile prefab and signing out #119
Comments
Currently, if I sign in multiple users, that seems to operate as expected. However, once I sign out one of the users, the UI elements from the UserProfile prefab do not change and eventually after several seconds, I get this error message: Exception thrown: 'Microsoft.Xbox.Services.XboxException' in Microsoft.Xbox.Services.UWP.CSharp.dll I have not yet been able to find the source. |
Hi Piecrustius, |
@Piecrustius did you find a way to sign out the user in single person mode? |
DDReaper, static void UserSignedOut(object sender, SignOutCompletedEventArgs e) Then add: to some initialization section, such as in the Start() function. That is as far as I have gotten on handling a sign out. If I get further, I'll post the code. I should mention that I do not know what I am doing and am making it up as I go along. Good luck. |
I did eventually find a way, but it involved using the gamebar to navigate to the Xbox App and then signing out there. If I get a chance, I might try adding another "sign-in" call and see if that replaces it. |
This issue is fixed in the 1711 release. If you are still seeing the issue after updating to that please reopen this issue. |
I am using the 1707 QFE 3 release. Is the UserProfile prefab intended to handle users signing out? I see a XboxLiveUserOnSignOutCompleted function in the script, but it does not seem to be used anywhere.
Should I modify the UserProfile prefab, or is there some other way I should be handling a user signing out in the middle of the game? I am able to see the sign in/out through the Sign[In/Out]Completed of the XboxLiveUser class.
Asked another way, I want to allow a user to sign out and have another sign in, such as in a setup screen for multiple local players. Should I use the UserProfile prefab to do so, or should I do it some other way?
Thanks.
The text was updated successfully, but these errors were encountered: