Search Unity

Error in API compiling for Windows Store

Discussion in 'Windows' started by Lamersrevenge, Aug 27, 2020.

  1. Lamersrevenge

    Lamersrevenge

    Joined:
    May 12, 2020
    Posts:
    3
    Hi I am still quite new to Unity and I am having problems with the following error when running tests for Windows store
    Error Found: The supported APIs test detected the following errors:
    • API DXGIGetDebugInterface1 in dxgi.dll is not supported for this application type. UnityPlayer.dll calls this API.
    • API GetFileVersionInfoSizeA in version.dll is not supported for this application type. UnityPlayer.dll calls this API.
    I understand that it is to do with .NET native but I can not find any where to say use .NET i am compiling it in Visual Studio 2017.

    Any help would be appreciated
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    This has nothing to do with .NET Native. You need to compile your app in "Master" configuration.
     
    Lamersrevenge likes this.
  3. Lamersrevenge

    Lamersrevenge

    Joined:
    May 12, 2020
    Posts:
    3
    Thank you I will give that a try
     
  4. Lamersrevenge

    Lamersrevenge

    Joined:
    May 12, 2020
    Posts:
    3
    Thanks again that worked a treat