Announcement

Collapse
No announcement yet.

Unreal Engine 4 is available for Win10 UWP app dev now

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [MENTION=494622]jsyarrow[/MENTION] - I just confirmed with the only change being the CDN=CN="99999RvBGames" I get the 0x80860003 error. But we agree that the CDN is setup incorrectly.

    On the other hand, if I setup the CDN=<StoreID> then I get the 0xD?????? error.

    Comment


      If you run from the project launcher without a custom profile, or you build and F5 in Visual Studio, then you're running unpackaged. No appx is ever created, instead your app is laid out in disk as it would be inside the appx, but then just registered in place. In particular in this case it doesn't get signed, which may be relevant since one of the troubleshooting suggestions is deleting the pfx file.

      Comment


        Okay, I set my CDN back to the Store App Identity Publisher.

        Now, I'm building Debug : UWP64.

        Btw, I don't think Development Editor works with XSAPI.

        Comment


          I used Cook on the Fly, debug UWP64, and encountered error: 0x87DD0005

          If I do not select Let's Play but instead press the close box my callback function is invoked but FUniqueId PlayerId is null.

          Comment


            For the record, my App Identity matches, my Title Id and SCID matches, my account is added to the Xbox Test Accounts, my Settings game name matches, and both Xbox One and Desktop are checked, the Settings are saved, and my Sandbox is running, and Test reports Success.

            I would think that this should work.

            Comment


              I've done a little debugging, and I see for ShowLoginUI we don't get much further than FOnlineExternalUILive::ShowLoginUI, which then calls SystemUI::ShowAccountPickerAsync(), with an asynchronous completed callback. There really isn't much I can investigate without switching to assembly.

              Any error encountered by the system call is prevented from being passed back and handled by the system. After logging in, but pressing the Close button, the callback reports that the status for the operation is Completed, but Results->User is null.

              Comment


                I know this may seem dumb, but is RequestedGamepad being null a problem?

                Click image for larger version

Name:	RequestedGamepad.jpg
Views:	1
Size:	83.3 KB
ID:	1129482

                Comment


                  I'm afraid client debugging isn't likely to help you much here - that error flows directly from a problem encountered on the server side. You can look it up in the errors.h header from the SDK in the plugin's ThirdParty folder - the comments are largely unhelpful since they discuss possible resolutions in service-to-service and non-Creators Program title scenarios, but the key takeaway that it's a service configuration issue stands.

                  At the risk of sounding like a broken record: now that you're sure you have good values for your package/identity/name and package/identity/publisher in your manifest, have you tried the new SDK again?

                  You are correct that Xbox Live is not supported in Editor configurations, since the Editor is not itself a UWP app.

                  Comment


                    Originally posted by Jerry.Richards View Post
                    I know this may seem dumb, but is RequestedGamepad being null a problem?

                    No, that parameter isn't even used internally . It's just there to make the UWP version line up with the Xbox XDK version. If you're really interested in digging deeper there's some source in OnlineSubsystemLive/ThirdParty/EraAdapter/Source that may be of interest - in particular that's where you'll find the implementation of ShowAccountPickerAsync for UWP. And then that calls on into the Xbox Live SDK, and if you want source for that it's up on GitHub.

                    Comment


                      The packaging didn't work with the new SDK. Given the nature of the errors it may only work with UWP configurations. I'm trying Debug UWP64 now.

                      Code:
                      UATHelper: Packaging (UWP (x64-64bit)): UnrealBuildTool: E:\UEUWP\MICROSOFT_UWP_UNREAL\Engine\Plugins\Online\XboxOne\OnlineSubsystemLive\Source\Public\OnlineSubsystemLive.h(28): error C3083: 'Xbox': the symbol to the left of a '::' must be a type
                      UATHelper: Packaging (UWP (x64-64bit)): UnrealBuildTool: E:\UEUWP\MICROSOFT_UWP_UNREAL\Engine\Plugins\Online\XboxOne\OnlineSubsystemLive\Source\Public\OnlineSubsystemLive.h(28): error C3083: 'Services': the symbol to the left of a '::' must be a type
                      UATHelper: Packaging (UWP (x64-64bit)): UnrealBuildTool: E:\UEUWP\MICROSOFT_UWP_UNREAL\Engine\Plugins\Online\XboxOne\OnlineSubsystemLive\Source\Public\OnlineSubsystemLive.h(28): error C3083: 'System': the symbol to the left of a '::' must be a type
                      UATHelper: Packaging (UWP (x64-64bit)): UnrealBuildTool: E:\UEUWP\MICROSOFT_UWP_UNREAL\Engine\Plugins\Online\XboxOne\OnlineSubsystemLive\Source\Public\OnlineSubsystemLive.h(28): error C2039: 'GetTokenAndSignatureResult': is not a member of 'Microsoft'
                      [EDIT]
                      Well the Debug UWP64 didn't work with the latest XSAPI SDK.
                      Last edited by Jerry.Richards; 06-13-2017, 11:15 PM.

                      Comment


                        After downloading the source, I ran setup, then executed the GetXboxLiveSDK script with the newer version. When I ran GenerateProjectFiles it reported that the SDK wasn't installed:

                        Click image for larger version

Name:	XboxLiveFalseError.jpg
Views:	1
Size:	31.7 KB
ID:	1129483

                        But the Microsoft.Xbox.Live.SDK.<> directories are present. Is this a false error or is it the source of my problem with the new SDK?

                        [EDIT]
                        The phrase only occurs in OnlineSubsystemLive.Build.cs:

                        Code:
                        string NugetPathChunk = Path.Combine(PackageFolder, "build", "native", PlatformArchAndCompilerPathChunk, "release");
                        
                        string XSAPISubDir = Path.Combine("XSAPI", NugetPathChunk);
                        if (!AddWinRTDllReference(XSAPISubDir, "Microsoft.Xbox.Services"))
                        {
                        	Log.TraceError("Error: Xbox Live SDK not found.  Run Engine/Plugins/Online/XboxOne/OnlineSubsystemLive/GetXboxLiveSDK.bat");
                        }

                        The build of the Engine is successful.
                        The project DLL's are created without error.
                        The Editor and operates as normal.
                        Visual Studio Solution is created.
                        Build and Debugging works with Win64 Development Editor.
                        Last edited by Jerry.Richards; 06-14-2017, 01:43 PM.

                        Comment


                          Yes, that message is directly related to your build errors. It's generated when the OnlineSubsystemLive.build.cs can't find the Microsoft.Xbox.Services.winmd file, which is needed to resolve the references to WinRT types in Microsoft::Xbox::Services.

                          Looks like this is because the structure of the NuGet package has changed recently, and the GetXboxLiveSDK script needs changing to match. Maybe a change to the way 'actualPath' is formed inside Install-LivePackage?

                          Code:
                          	$nativeReleasePackage = $installLocation + "\" + $packageName + ".Native.Release." + $packageVersion
                          	if (Test-Path $nativeReleasePackage)
                          	{
                          		$actualPath = $nativeReleasePackage
                          	}
                          	else
                          	{
                          		$actualPath = $installLocation + "\" + $packageName + "." + $packageVersion
                          	}
                          Still haven't had a chance to fully test this myself though.

                          Comment


                            I'm testing the change now. Is it okay to clean the previous build, run the modified script, and the rebuild?

                            [EDIT]
                            I decided to start completely from scratch, and this is the process I'm following:

                            Code:
                            1. Delete existing directory
                            2. Clone from GitHub
                            3. Copy Plugins/Marketplace
                            4. Run Setup.bat
                            5. Change GetXboxLiveSDK $xsapiVersionUwp = "2017.05.20170517.001"
                            6. Change GetXboxLiveSDK Install-LivePackage:
                            	$nativeReleasePackage = $installLocation + "\" + $packageName + ".Native.Release." + $packageVersion
                            	if (Test-Path $nativeReleasePackage)
                            	{
                            		$actualPath = $nativeReleasePackage
                            	}
                            	else
                            	{
                            		$actualPath = $installLocation + "\" + $packageName + "." + $packageVersion
                            	}
                            7. Run GetXboxLiveSDK script
                            8. Run GenerateProjectFiles
                            9. Build

                            I'm on step 9 without error so far. . .
                            Last edited by Jerry.Richards; 06-14-2017, 02:20 PM.

                            Comment


                              [MENTION=494622]jsyarrow[/MENTION] - Would you please clarify (again) if OnlineSubsystemUtils is needed or not. It was my understanding that it wasn't needed and so I don't have the plugin enabled. However, the OnlineSubsystemLive.Build.cs includes it:

                              Click image for larger version

Name:	03.OnlineSubsystemUtils.jpg
Views:	1
Size:	32.6 KB
ID:	1129500


                              Should this be enabled?
                              Last edited by Jerry.Richards; 06-14-2017, 03:11 PM.

                              Comment


                                OnlineSubsystemUtils is probably a good idea - in particular it contains the platform-independent Blueprint interface to the OnlineSubsystem. But if your build succeeds without it then it's not essential - it certainly isn't related to your sign-in problem.

                                Comment

                                Working...
                                X