XboxLiveDevelopment
UWP Unity Sample, Missing Assembly
Hi! I'm trying to build and run the UWP "Achievements" sample Unity project included in the SDK. I've followed all of the steps in the ReadMe file, but when building the solution in Visual Studio, I get 19 errors, all variants on the following: Method '$MethodUtility.$Invoke56(long, long*)' will always throw an exception due to the missing method '__ISignInUISettingsPublicNonVirtuals.set_TitleCategory(SignInUIGameCategory)'. There may have been a missing assembly. It appears that an assembly is missing, though I can't for the life of me figure out why. The steps to build this project were pretty straightforward. Can anyone shed some light on this? Thanks! - David
This Unity sample uses our WinRT API. In the readme.txt of the sample, it'll point to a winmd found at XboxLiveSDK-1612-20170114-002\Binaries which should solve the issue. If you follow the readme.txt and still get stuck, let us know.
Some additional information: 1. I'm running Unity 5.5.2p2 on Windows 10 14393.693. I have two Windows SDKs I can build against in Unity: 10.0.10586.0 and 10.0.14393.0. 2. I've tried checking the "Don't Process" checkbox on the Microsoft.Xbox.Services.winmd file in Unity, and it doesn't make a difference. Still get the same 19 errors. 3. I'm using the "Achievements" sample from the Xbox Live SDK, and following the instructions in the Readme to the letter (including importing the Microsoft.Xbox.Live.SDK.WinRT.UWP NuGet package). Thanks for any help! - David
Hey David, Sorry for the delay. Thanks for all the detail but I'm going to ask you for a bit more. Can you point us directly to the sample that you're using. I want to make sure that we're all looking at the same documentation. And for clarification, you're building your project in Unity which builds and produces the VS project and then building that produces the errors you're seeing, right? - Ben
Thanks for the reply! I am building in Unity, and the errors are appearing when I build the resulting Visual Studio project. The sample I'm using is the "Achievements" sample for Unity included with the Xbox Live SDK: XboxLiveSDK-1612-20170114-002\SourceAndSamples\Samples\Achievements\Unity
This Unity sample uses our WinRT API. In the readme.txt of the sample, it'll point to a winmd found at XboxLiveSDK-1612-20170114-002\Binaries which should solve the issue. If you follow the readme.txt and still get stuck, let us know.
As stated in my original question, I've followed the readme.txt to the letter a number of times, including the winmd step. Unfortunately, I'm still stuck.
Let us know if your still having issues with this.
We've stepped away from creating a Windows 10 version of our game, but if we go back to it, we'll definitely revisit this topic. Thanks!
Understood, thanks
Related Links
XBOX and Hotmail account merging
StatsManager AddLocalUser
Get Microsoft Xbox friends list
Xbox live Api REST
UWP Unity Sample, Missing Assembly
Cannot Update Xbox Live Creators Program Leaderboard
Xbox live c# development (no unity)
StatisticUpdateComplete Documentation or Example
young children developing games
[XboxLiveDevelopment] [UWP] [LIVE]
LeaderBoard Display
Launch date?
[UWP][HTML][XBOX] Leaderboards and eliminating stuttering in Xbox UWP games? (Construct 2)
Where can I find Xbox Api's that don't require a lot of hacks? Why cannot the xbox api's be released publicly?
Has the Xbox Live Creators Program gone live?
[UWP][HTML][XBOX] Eliminate stuttering in Xbox UWP games? (Construct 2)