Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCan't build the plugin with Unity 2017.2f1 #134
Comments
|
I think this is the same issue as #94 |
|
Not sure because I don't use the .Net 4.6 Scripting backend, I've switched back to the stable runtime. |
|
I can confirm this is not the same issue. In #94 the user uses the .net 4.6 Scripting backend which is experimental as well as the .Net 4.6 API compatibility. This is not what I use. I use the recommanded settings. Can you give it a try with Unity 2017.2f1 and IL2CPP please? Thank you |
|
I've just installed 2017.2f1 last night. So I'll start up my test app and try it |
|
Ok, so this is a very odd situation and sadly it all falls in Unity's court.
This is some strange voodoo logic here. Can the MS team talk to the Unity team here and see what is going on? Currently IL2CPP builds are incompatible with the XBL package, and several key new features are only supported on UWP with IL2CPP. SO we are at an impass. |
|
Thanks for the detail. We'll take a look |
|
FYI, the other Xbox Live repo has a method that works for callng Xbox Live services with a IL2CPP project, as detailed here. |
|
It will work, but we don't have any docs or samples to support Creators using this path so its not recommended. The main issue is that path which uses our WinRT dll with IL2CPP can't be used Unity editor, so our prefabs which call APIs that use mock data in the editor won't work with this path. We will be digging into this issue soon so we're hoping to get our Creators Unity plugin properly supporting IL2CPP. |
|
It's certainly a different approach, using the Interop method instead of embedding Xbox Live code in the Unity project. To be honest, with Unity, it is the better path. |
|
Hello, I am running into the same problem. Is there a workaround for it? |
|
What I did to fix this was set the API Compatibility to .NET 2.0 and then deleted mscorlib in Visual Studio. Once you've done all that, close down Visual Studio and reopen it via Open C# Project in Unity. The .NET 3.5 mscorlib is then added in. Note that i am using .NET scripting backend not IL2CPP. |
|
For those of you wanting support for IL2CPP scripting backend, the 1802 preview release does support that so you are welcome to try. Just be aware that there was significant design overhaul with this release and you may run into some issues. If you do choose to try it, just log any issues you find here on github. |
Hello,
I try to make a build for the store but it's impossible because of errors during the begining of the build phase. My setup
Errors
There are the error I got
DLL configuration
Folder Libs\Unity
Folder Libs\UWP
I hope we can fix that quickly because I can't continue my beta test on the Windows/Xbox platforms (I can remove the plugin but it can be nice to find a solution).
Thank you for your time.