Creators Program: Multi Scene Xbox Live Sign example crashing with ExecutionEngineException


  • I'm trying to take the Xbox Live Unity plugin and incorporate it into my game.  While the basic SignInAndProfile Unity Scene example works, as soon as I add another scene (and navigate to that scene at runtime), the app always crashes with an ExecutionEngineException after I sign out of Xbox Live (using the Xbox PC App; I'm running this on the PC).

    I originally ran into this after incorporating the code into my game, and then I went back to the example, added a second scene that I can navigate to from the SignInAndProfile scene, and then found that even the Xbox Live plugin example suffers from the same issue.  I tried making the Unity projects support multiscene (i.e., called DontDestroyOnLoad on the instantiated XboxLiveUser object, and even disabled the event handlers for Microsoft.Xbox.Services.XboxLiveUser.SignOutCompleted, etc.), but the exception still happens.  I noticed the exception does NOT occur if I don't navigate away from the scene where the user originally signed in--it only occurs after I have left the scene I originally signed in.

    Not only does the exception occur, clicking on the "Copy Details" link pulls up the error below:

    Is this a known issue?  Is there something else that needs to be done to support sign-out events?  Is there a multi-scene profile sign-in/sign-out example that works that I can check out?

    I can send my modified Unity project Xbox Live sign in example if it helps.

    Version info:

    • Unity version: 5.6.4f1
    • Visual Studio 2017 Version 15.4.1 for running/debugging Windows Store build
    • Visual Studio 2015 Update 2 for editing in Unity
    • Windows 10 Version 1703 (15063.850)



    Tuesday, January 16, 2018 4:36 AM

All replies

  • Hi Mike,

    We are introducing a revamped sign in system with the next release that we believe will fix this. We'll make sure to update this thread with more info about the release.

    Friday, February 09, 2018 11:06 PM