Windows Store cert failures with VR

In 5.6.0f3, adding VR to a UWP build causes Windows store certification to fail. Suggestions?

  • API ExecuteAssembly in uwphost.dll is not supported for this application type. TheApp.exe calls this API.
  • API DllGetActivationFactory in uwphost.dll is not supported for this application type. TheApp.exe has an export that forwards to this API.
  • API EnableAutoDriftCorrection in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API EnableDistortionCorrection in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API EnableElectronicDisplayStabilization in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API GetHeadPose in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API GetProfile in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API GetViewParameters in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API Pause in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API ResetHeadTracker in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API Resume in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API SetDefaultProfile in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API SetEventCallback in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API SetNeckModelFactor in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API SetTextureId in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API SetUnityVersion in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API Start in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
  • API Stop in vrunity.dll is not supported for this application type. Assembly-CSharp.dll calls 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.

This one is caused by you building in debug/release configuration. Use Master configuration instead.

The rest of your issues are caused by [DllImport] statements to a non-existing “vrunity.dll” in your C# scripts. You’ll have to #ifdef them out.

Thanks! I was just in the process of writing an update to say I’d just figured that out when you beat me to it.

It actually looks like all of it was just the release/master build issue.

Thanks and have a great weekend!