microsoft / gdk-unity-package

The Unity package for PC GDK developers.
Other
51 stars 18 forks source link

Trying PC Standalone with GDK core #59

Closed giorgosgs closed 2 years ago

giorgosgs commented 2 years ago

Hi,

I have Unity 2021.1.23 with June GDKX and correct plugin. I implemented the example to log in with the correct sandbox and settings and I get an error when its logging in: WindowsPlayer Sign in. failed. Error code: hr=0x89245110 This means E_GAMEUSER_NO_PACKAGE_IDENTITY "A package identity must be configured."

My GDK-Tools\ProjectMetadata\MicrosoftGame.Config file is correctly set up with the correct package identity. My PC is set up developer PC. What more can I try? thanks

giorgosgs commented 2 years ago

I have already build the Xbox One and Xbox Scarlett builds with the same sandbox correctly.

payzer commented 2 years ago

Thank you for the question. The GDK-Tools\ProjectMetadata\MicrosoftGame.Config file is for PC-only.

The MicrosoftGame.config for Xbox comes from another location and is configured in another way. You can check the Unity Xbox forums for more information. We apologize for the confusion.

giorgosgs commented 2 years ago

Now I am trying to port my game for PC with LIVE features like achievements and cloud save. I am talking about pc.

Αποκτήστε το Outlook για Androidhttps://aka.ms/AAb9ysg


From: Gersh Payzer @.> Sent: Friday, October 8, 2021 4:54:16 PM To: microsoft/gdk-unity-package @.> Cc: giorgosgs @.>; Author @.> Subject: Re: [microsoft/gdk-unity-package] Trying PC Standalone with GDK core (#59)

Thank you for the question. The GDK-Tools\ProjectMetadata\MicrosoftGame.Config file is for PC-only.

The MicrosoftGame.config for Xbox comes from another location and is configured in another way. You can check the Unity Xbox forums for more information. We apologize for the confusion.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/gdk-unity-package/issues/59#issuecomment-938662354, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQHVPRULDILSESP7P44TKDUF3ZYRANCNFSM5FTVEG3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

payzer commented 2 years ago

Ah I see. That error usually means there is no MicrosoftGame.config. Did you do a Build and Run from the GDK menu? The Xbox Live APIs won't work in the Unity editor or a standalone build. They need to be packaged as a MSIXVC, which can be done from the GDK > PC > Build and Run menu,

This document has more troubleshooting steps as well: https://docs.microsoft.com/en-us/gaming/gdk/_content/gc/live/test-release/troubleshooting/live-troubleshoot-sandboxes#0x89245106-e_gameuser_no_default_user

giorgosgs commented 2 years ago

Yes I did a GDK-Build and the 8 run it myself from the file manager.

Αποκτήστε το Outlook για Androidhttps://aka.ms/AAb9ysg


From: Gersh Payzer @.> Sent: Friday, October 8, 2021 5:01:17 PM To: microsoft/gdk-unity-package @.> Cc: giorgosgs @.>; Author @.> Subject: Re: [microsoft/gdk-unity-package] Trying PC Standalone with GDK core (#59)

Ah I see. That error usually means there is no MicrosoftGame.config. Did you do a Build and Run from the GDK menu? The Xbox Live APIs won't work in the Unity editor or a standalone build. They need to be packaged as a MSIXVC, which can be done from the GDK > Build and Run menu,

This document has more troubleshooting steps as well: https://docs.microsoft.com/en-us/gaming/gdk/_content/gc/live/test-release/troubleshooting/live-troubleshoot-sandboxes#0x89245106-e_gameuser_no_default_user

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/gdk-unity-package/issues/59#issuecomment-938667662, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQHVPUBSCHHRMV6BMRIUJDUF32S3ANCNFSM5FTVEG3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

payzer commented 2 years ago

Were you able to run the store association wizard successfully?

giorgosgs commented 2 years ago

Yes done that correctly. Also set up the correct sandbox and switched the pc apps to sandbox. Also logged in a user that is configured at this sandbox.

Αποκτήστε το Outlook για Androidhttps://aka.ms/AAb9ysg


From: Gersh Payzer @.> Sent: Friday, October 8, 2021 5:24:12 PM To: microsoft/gdk-unity-package @.> Cc: giorgosgs @.>; Author @.> Subject: Re: [microsoft/gdk-unity-package] Trying PC Standalone with GDK core (#59)

Were you able to run the store association wizard successfully?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/gdk-unity-package/issues/59#issuecomment-938684986, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQHVPU5HOJU7TZVH64JOLTUF35IZANCNFSM5FTVEG3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

giorgosgs commented 2 years ago

I have sent it. Did you get it?

Αποκτήστε το Outlook για Androidhttps://aka.ms/AAb9ysg


From: Gersh Payzer @.> Sent: Friday, October 8, 2021 5:36:28 PM To: microsoft/gdk-unity-package @.> Cc: giorgosgs @.>; Author @.> Subject: Re: [microsoft/gdk-unity-package] Trying PC Standalone with GDK core (#59)

You can also post here once you've done that, just so I can make sure I got the email.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/gdk-unity-package/issues/59#issuecomment-938693677, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQHVPVKVNLLLNIBTXLTQVLUF36WZANCNFSM5FTVEG3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

payzer commented 2 years ago

Thank you for sending the email to your Microsoft representative. I have not received it yet. Thank you for checking.

giorgosgs commented 2 years ago

The email I used ended in noreply.github.com is this correct?

Αποκτήστε το Outlook για Androidhttps://aka.ms/AAb9ysg


From: Gersh Payzer @.> Sent: Friday, October 8, 2021 5:50:04 PM To: microsoft/gdk-unity-package @.> Cc: giorgosgs @.>; Author @.> Subject: Re: [microsoft/gdk-unity-package] Trying PC Standalone with GDK core (#59)

Not yet, so thank you for checking. I'm going to ask around and will find it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/gdk-unity-package/issues/59#issuecomment-938702317, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQHVPTW3TL5V3UOTDEJLJLUF4AJZANCNFSM5FTVEG3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

payzer commented 2 years ago

That's not it. You'll need to email your Microsoft representative. That's the best next step. Unfortunately, I can't share more information here as it's a public space.

giorgosgs commented 2 years ago

I wrote to my xbox support about this.

Αποκτήστε το Outlook για Androidhttps://aka.ms/AAb9ysg


From: Gersh Payzer @.> Sent: Friday, October 8, 2021 6:10:18 PM To: microsoft/gdk-unity-package @.> Cc: giorgosgs @.>; Author @.> Subject: Re: [microsoft/gdk-unity-package] Trying PC Standalone with GDK core (#59)

That's not it. You'll need to email your Microsoft representative. That's the best next step. Unfortunately, I can't share more information here as it's a public space.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/gdk-unity-package/issues/59#issuecomment-938718276, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQHVPVYFEJK3GLDDF7DAJTUF4CVVANCNFSM5FTVEG3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

payzer commented 2 years ago

Thank you.

payzer commented 2 years ago

Closing this issue here as it is being followed up on in other channels.