microsoft / xbox-live-unity-plugin

The Xbox Live Unity Plugin provides a way for developers in the Xbox Live Creators Program to quickly and easily integrate Xbox Live functionality into their Unity based game. For ID@Xbox developers, this Xbox Live Unity Plugin does not yet support all the features you will need. Instead, contact your Microsoft representative.
MIT License
167 stars 62 forks source link

Multiple errors with Unity 2019.3.2f1 #296

Open Gomahetsuha opened 4 years ago

Gomahetsuha commented 4 years ago

Hello,

As a new member of the Creators Program, I'm trying to follow Microsoft steps to configure Unity to work with Xbox Live. Adding this add-on to the Unity project is part of the steps. (https://docs.microsoft.com/fr-fr/gaming/xbox-live/get-started/setup-ide/creators/unity-win10/live-configure-xbl-in-unity) A reference to UnityEngine.UI seems to be missing. However, I can see in the package manager that the plugin Unity UI (com.unity.ugui v1.0.0) is imported automatically.

With a new empty Unity project I have many errors.

Unity : 2019.3.2f1 Plugin version : xbox-live-unity-plugin 1804 QFE 3 Release Visual Studio : 2019 community

Many errors are all like this one, which means that the UnityEngine.UI reference is missing : Le nom de type ou d'espace de noms 'Button' est introuvable (vous manque-t-il une directive using ou une référence d'assembly ?)

Same thing for UnityEngine.EventSystems with the reference missing : Le nom de type ou d'espace de noms 'StandaloneInputModule' est introuvable (vous manque-t-il une directive using ou une référence d'assembly ?)

There are also 3 warnings like this one meaning that WWW is obsolete: 'WWW' est obsolète : 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'

Is there a quick fix I can do or do I have to wait for an update? Thanks a lot in advance for your help.

RichmarIII commented 4 years ago

It has to due with the xbox-live-plugin referencing the old 2017 unity api. couldn't get the plugin working in 2018 or 2019. Only works with 2017 for now. Kind of sucks, but that's the state of it right now.

MSFT-Heba commented 2 years ago

Hey everyone Just for awareness, we've posted an announcement that integrating Xbox Live is no longer a requirement for UWP games to be published on Xbox as part of the Creators Program and we are phasing out software needed to support Xbox Live on UWP.

For more details: https://github.com/microsoft/xbox-live-unity-plugin#2021-update-more-accessible-creators-program-no-longer-requires-xbox-live