none
Irritating new issue. UWP Isue after implementing a Microsoft Plugin into my Unity3d Game, now it doesnt play.

    Question

  • Hi

    I sent my game for approval, and was rejected since it needed XBLA support and be able to login an user etc., I used the documentation ( it is really good ) and from unity it appears to be working fine, even same final screen capture! all ok!

    Then go to exported Visual Studio Solution, double click and set it to run into the console: BOOM error

    System.TypeLoadException: 'Unresolved P/Invoke method 'XsapiGlobalCleanup!Microsoft.Xbox.Services.140.UWP.C.dll'
    in assembly 'Microsoft.Xbox.Services.UWP.CSharp, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=null' because it is not available in UWP applications. Please either use an another API , or
    use [DllImport(ExactSpelling=true) to indicate that you understand the implications of using non-UWP application APIs.'

    It compiled before importing and cofniguring the Microsoft XBLA Unity3d plugin, it gave no error, and what is worst is that it seems to come from Microsoft to Microsoft SW.

    Already played with version of .Net from latest to 2 into unity, and also in the xbla plugin, same results.

    At this point I feel deeply frustrated.  I know that XBLA has issues at this moment, but they say Basics Operations work fine, so dont think its related. 

    The game loads on the XboxOne, shows logos and then STOP and start giving exeptions.

    Please, anyone can help?

    Aldo



    Monday, February 05, 2018 5:27 PM

All replies

  • Looks similar to this: https://github.com/Microsoft/xbox-live-unity-plugin/issues/192

    The folks in the XBox Live forum may have other suggestions.

    Monday, February 05, 2018 10:22 PM
    Moderator
  • Thanks Rob,

    Your help is always great! I just wrote there.

    Arcanebits

    Tuesday, February 06, 2018 4:53 PM
  • Hi Aldo,

    Thank you for posting on the forum. I have some questions for you. These will help us better investigate the issue you are having.

    1. What engine are you using (if any) and what version?
    2. What version of Xbox Live are you using?
    3. What IDE (i.e. Visual Studio) are you using and what version?
    4. What version of the Windows SDK are you using?”

    Thank You,

    Brett Rudd

    Tuesday, February 06, 2018 6:38 PM
    Moderator
  • Hi Brett!

    Unity 2017.3.0f3 (64-bit)

    XboxLive.unitypackage 1802, and tested turning on and of .NET 3.5/4.6 from plugin

    Microsoft Visual Studio Professional 2017 Versión 15.5.2

    Lastest windows SDK installed

    Can you help?

    Aldo

    Wednesday, February 07, 2018 12:31 PM
  •  Hi Aldo,

    The issue is currently being looked into by our engineers. We will let you know when we have more info for you.

    Thank You,

    Brett Rudd

    Wednesday, February 07, 2018 6:52 PM
    Moderator
  • Hi, 

    Any news into this isssue? We have the game on full stop since this error doesnt let us advance, at least a work around?

    Arcanebits

    Monday, February 19, 2018 3:19 PM