Closed EmmetOT closed 2 years ago
On closer inspection, there is an error being printed to the log file.
'Sign in. failed. Error code. hr=0x89245110'
According to the list of Microsoft error codes, this corresponds to: "A package identity must be configured."
I should have been using "build and run" not just building and launching the executable like a standard standalone build. Explained here: https://docs.microsoft.com/en-us/gaming/gdk/_content/gc/get-started-with-pc-dev/get-started-with-unity-pc/features/gdk-unity-build-and-run.
If I make a build with the sign-in scene immediately after having imported this, I successfully get the sign-in prompt on start. However none of my sandbox test accounts work, which isn't particularly surprising.
However, when I run the tool under 'GDK > Associate with the Microsoft Store' (which seems to work successfully and fills out MicrosoftGame.Config with all the correct information) and set the field 'Scid' in the GdkHelper prefab, suddenly the sign-in prompt never even appears in the build. There are no errors, and nothing else has been changed.