deV11
January 29, 2016, 7:28am
1
Hi !
We just tried to finalize our game for submission this night, but we keep having an issue at building our game.
We first builded the game in release and everything was fine until certification, which failed at API Support (because of uwphost.dll).
FAILED
Supported APIs
Error Found: The supported APIs test detected the following errors:
API ExecuteAssembly in uwphost.dll is not supported for this application type. Zen Balloons.exe calls this API.
API DllGetActivationFactory in uwphost.dll is not supported for this application type. Zen Balloons.exe has an export that forwards to this API.
API OpenSemaphore in api-ms-win-core-synch-l1-1-0.dll is not supported for this application type. System.Threading.dll calls this API.
API CreateSemaphore in api-ms-win-core-kernel32-legacy-l1-1-0.dll is not supported for this application type. System.Threading.dll calls this API.
API D3D12GetDebugInterface in d3d12.dll is not supported for this application type. UnityPlayer.dll calls this API.
Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.
How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, C++ apps that are built in a debug configuration will fail this test even if it only uses APIs from the Windows SDK for Windows Store apps. See the link below for more information:
In forums, we found a possible solution which is basicly building in Master :
We tried and it always fail at the end, with this error :
I tried to apply the solution of this guy :
http://www.ikriv.com/blog/?m=201504
Which basicly consist to edit the VCproj file to tell visual studio where is the BundleArtifacts Folder.
We build in Native .NET, so it s not this flag anyway.
We put the toolchain .net flag active
Please give us your hints, tricks and possible solution, we really want to apply to the contest.
Fabien
Which Unity version is this, are you using latest 2015 Update 1? At least from googling, it seems something is wrong with your package name.
Does the same thing happens with empty project? If not, try to compare Package.appxmanifest of your two projects, maybe something went wrong there.
deV11
January 29, 2016, 7:56am
3
Hi,
We use the last unity version ( without patch) and the last VS 2015 Update 1, on windows 10.
By the way we succeed to build one time the project but all following try to rebuild/update from Unity after were impossible to open in Visual studio( we always build in new folders) : Some Object reference null error prompt and it refuse to load the project.
We currently searching around your package name suggestion
deV11
January 29, 2016, 8:11am
4
We 've just found the solution !
The file needed in BundleArtifacts\Upload\ were in fact in BundleArtifacts, so copying it fixed the issue.
Plus we activated the .Net toolchain on only X86 and not on other targets, thanks to tricky interface.
Let’s hope it will be fine.