Git Product home page Git Product logo

Comments (10)

Ve5emiR avatar Ve5emiR commented on August 19, 2024

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.

XboxLiveForum avatar XboxLiveForum commented on August 19, 2024

Hi Vesemirek,

In order for us to better assist here, could you please provide the following information:

  1. Just to clarify, are you already registered with the ID@Xbox program?
  2. What version of Xbox Live are you using?
  3. What IDE are you using and what version?

Thanks!

from xbox-live-api.

jasonsandlin avatar jasonsandlin commented on August 19, 2024

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.

Ve5emiR avatar Ve5emiR commented on August 19, 2024

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.

Ve5emiR avatar Ve5emiR commented on August 19, 2024

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.

Ve5emiR avatar Ve5emiR commented on August 19, 2024

Using most of the commands with await keyword caused those issues. Sorry for bothering you, #blameTheIDE

from xbox-live-api.

allancozart avatar allancozart commented on August 19, 2024

All of the unity samples links are broken. @jasonsandlin can you provide the new locations?

from xbox-live-api.

jasonsandlin avatar jasonsandlin commented on August 19, 2024

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.

allancozart avatar allancozart commented on August 19, 2024

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.

jasonsandlin avatar jasonsandlin commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.