Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

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,506
    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