Hi. I’m build clean UWP project with Xbox Live plugin.
Unity version 2018.2
Plugin downloaded from Releases · microsoft/xbox-live-unity-plugin · GitHub
In editor it’s all work fine. But when i build project and run on Xbox i have error on start:
Loading native plugins
Loading Microsoft.Xbox.Services.140.UWP.C.dll
Failed to load ‘Microsoft.Xbox.Services.140.UWP.C’, expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture.
How can i fix it?
Thanks for answers in advance
What version/build/update of the Windows 10 OS are you running? That file doesn’t seem to have any additional dependencies so it’s not clear why it doesn’t work.
Windows 10 Pro Version: 1909, Build 18363.449
Build with VS 2017 and SDK 10.0.16299.0
Actually, I think you’re running into this bug:
I think that the error is no issue for concern: scripts will still be able to call into it via DllImport attribute. This would be an issue if it was a graphics plugin and needed to call back into the engine but as far as I can tell, this plugin doesn’t need to do that. So you should be able to just ignore that error.