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)

Categories

MSDN
Visual Studio Development
Windows Phone Development
Apps for Office and Sh...
DevLabs
JScript and Scripting
Machine Translation an...
Smart Device Development
Bing
Visio 2010
Exchange Server
Archived Forums N-R
Archived Forums V
Archived Forums W
Windows Phone Preview ...
Skype for Business
Microsoft R
Off-Topic Posts (Do No...
Visual Basic
Visual C++
Visual Studio Tools fo...
Dev Center App
General Windows Deskto...
Windows Imaging Compon...
Windows Desktop Web Se...
Windows Desktop Winsoc...
General Office Develop...
Access for Developers
Word for Developers
SharePoint Legacy Vers...
Microsoft Azure Site R...
Azure CDN
Azure App Service - AP...
Azure Logic Apps
Azure SQL Data Warehouse
Azure Disk Encryption
Team Foundation Server...
Team Foundation Server...
Architecture General
LINQ to SQL
Microsoft Live Labs Volta
Scripting
SyncFx - General [Read...
SyncFx - SyncToy-File ...
Microsoft Robotics - V...
Microsoft Robotics - H...
Visual Studio Smart De...
SQL Server Database En...
SQL Server Search
SQL Server Samples and...
SQL Server Application...
SQL Server PowerPivot ...
SQL Server Data Qualit...
Standard 2009: Misc
Windows Embedded 8.1 I...
SQL Server 2012 High A...
Windows Forms General
Windows Live Writer: D...
MSDN and TechNet Searc...
WebsitePanel - Discuss...
MSDN Magazine
The Samsung Windows De...
Bing Maps WPF, WP7/8/8...
Project Customization ...
Microsoft Atlas APIs: ...
Microsoft Unified Comm...
Microsoft Lync Server ...
Silverlight Installati...
WCF RIA Services with ...
Silverlight for Window...
Retired SharePoint Soc...
Project Standard and P...
.NET Platform Architec...
.NET StockTrader Sampl...
Commerce Server 2002 a...
Doloto
Expression Community S...
LINQ to SQL (Pre-Release)
Microsoft Security Dev...
Network Quality of Ser...
Performance Counters f...
SQL Server 2014 Data Q...
SQL Server 2014 High A...
Team Foundation Server...
Transactions Programming
UI Design for Windows ...
Visual Basic 2008 (Pre...
Visual Basic Express E...
Visual Basic Language
Visual C++ Express 200...
Visual Studio 2008 IDE...
Visual Studio Gallery ...
Visual Studio Web Perf...
Web Development in Vis...
Windows MultiPoint Mou...
Windows Workflow Found...
XML in Visual Studio a...
Windows Phone Preview ...
Skype Web SDK

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile