Comments (10)
Additional Information:
- developing UWP app for Windows Store
- using C# to develop (that's why I choose WinRT version)
- project based on Unity 2017.3
- targeting ID@XBOX with features such as Achievements 2017
from xbox-live-api.
Hi Vesemirek,
In order for us to better assist here, could you please provide the following information:
- Just to clarify, are you already registered with the ID@Xbox program?
- What version of Xbox Live are you using?
- What IDE are you using and what version?
Thanks!
from xbox-live-api.
Hmm, all the Xbox Live services a game can call are implemented in the WinRT API. A number of big game studios have shipped using the WinRT API.
There's docs about how to use Unity and the WinRT API at:
https://docs.microsoft.com/en-us/windows/uwp/xbox-live/get-started-with-partner/partner-add-xbox-live-to-unity-uwp
There's a few Unity samples using the WinRT API at:
https://github.com/microsoft/xbox-live-samples/tree/master/ID%40XboxSDK/GameSave/Unity https://github.com/microsoft/xbox-live-samples/tree/master/ID%40XboxSDK/DataPlatform2013/Achievements2013/Unity https://github.com/microsoft/xbox-live-samples/tree/master/ID%40XboxSDK/Social/Unity
See the readme for how to run them. For example:
https://github.com/Microsoft/xbox-live-samples/blob/master/Samples/ID%40XboxSDK/Social/Unity/Readme.md
from xbox-live-api.
Hello, thanks for an aswer.
1. ID@XBOX
Yes and I plan to be prepared for every feature that this program supports in opposition to Creators Program and of course basic features that are supported in CP and ID@XBOX.
2. Xbox Live
Do you mean which structure (2013 or 2017) I'm targeting? If so, as im registered in ID@XBOX I'm trying to target Stats 2017 and Achievements 2017 and of course features such as rich presence.
If you're talking about XSAPI, it's the latest avaible unitypackage (1711).
Xbox version on my PC is 36.36.12003.00000.
3. About IDE:
I tried on every update of VS2015 Community and VS2017 Community with Unity Tools. Also tried building in Unity 5.6.4p4, Unity 2017.2.0f3 and Unity 2017.3.1f1, both using IL2CPP and NET builds.
Some builds connected, some crashed during compiling, some messed up with UnityLinker, SerializationWeaver (even empty builds), so after trying everything I stumbled upon that one moment when I tested it on very old environment on the other PC with another test account and from my entire code I managed to score an achievement.
So I'm currently running on VS2015 Update 3 and building on Unity 5.6.4p4 with Windows 10 SDK version 10.0.14393.0 IL2CPP build, because that's the only option that worked somehow with the achievement system.
As it may seem for now, it can be an issue with Unity and/or the IDE itself or that specific test account, so sorry about questioning the API implementation. But still, I did not manage to do anything else, except managing to award test account with the achievement on that one proper environment setup.
About the docs, I've read the entire Xbox Live guidelines and WinRT docs, every sample, even strict C++ headers to understand what's happening, even if I'm more familiar with C#. But thank you for providing those links, they may be useful for others reading this issue.
from xbox-live-api.
If you need any examples of my implementation, current version of the tools or what I've tried to do, contact me ;) (fiddler feedback messages, scripts and so on).
from xbox-live-api.
Using most of the commands with await keyword caused those issues. Sorry for bothering you, #blameTheIDE
from xbox-live-api.
All of the unity samples links are broken. @jasonsandlin can you provide the new locations?
from xbox-live-api.
The 3 unity samples that use the XSAPI WinRT API are here:
https://github.com/microsoft/xbox-live-samples/tree/master/ID%40XboxSDK/GameSave/Unity https://github.com/microsoft/xbox-live-samples/tree/master/ID%40XboxSDK/DataPlatform2013/Achievements2013/Unity https://github.com/microsoft/xbox-live-samples/tree/master/ID%40XboxSDK/Social/Unity
from xbox-live-api.
Thanks @jasonsandlin !
Do you know if there's anything like the unity xbox live plugin found here, available for ID@Xbox UWP games https://github.com/Microsoft/xbox-live-unity-plugin
Also will that plugin work for ID games if you add achievements ?
from xbox-live-api.
Do not use https://github.com/Microsoft/xbox-live-unity-plugin for ID@Xbox titles. It doesn't have achievements and a bunch of other features. Its only designed for Creators.
from xbox-live-api.
Related Issues (20)
- Erroneous use of `Null` enum where `null()` value should be used. HOT 1
- create_game_from_lobby null pointer access exception HOT 3
- Email from XBox Live Plugin HOT 1
- Where do I set events on Partner Center (2017 title) to use in writeEvent? HOT 1
- Nuget Error HOT 2
- .NET Core Support HOT 2
- Async calls never returning HOT 5
- SessionConstants crossplay field is not parsed correctly from json response HOT 2
- Compatibility with xbox-live-unity-plugin HOT 1
- [Leaderboards] Leaderboards Completes and ErrorCode is 0. but Exception thrown when accessing statisticEvent.EventArgs HOT 5
- XblPresenceSetPresenceAsync is causing XTaskQueueDispatch to trigger time sensitive thread warning HOT 1
- Visual Studio 2019 hanging when adding xsapi.staticlib.props file HOT 1
- Results from inventory API are always empty HOT 6
- Nuget package hasn't been updated since 2018, will it be updated soon? HOT 7
- Fetching a list of owned games for a user HOT 1
- Presence resource is not working as expected. HOT 4
- static_assert failed: 'type is not supported for extraction from a stream' HOT 2
- Compiler Error C2280 with std::dynamic_pointer_cast (/GR-)
- A Simple Guide For Newbies HOT 3
- Xbox Signin (UWP) - when signed in elsewhere HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbox-live-api.