Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WACK Fail XInputInterface.dll

Discussion in 'Windows' started by cocacough, Feb 15, 2019.

  1. cocacough

    cocacough

    Joined:
    Jul 1, 2015
    Posts:
    78
    Hi,

    Not sure if I should post here or the Xbox forums. I'm having trouble getting my WACK to succeed for UWP cert.

    I'm getting an error at the Binary Analyzer step saying:
    File XInputInterface.dll has failed the AppContainerCheck check.

    Followed by the Supported APIs:
    API CreateFileW in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API GetModuleHandleW in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API GetOEMCP in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API GetStartupInfoW in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API GetVersion in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API LCMapStringW in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API LoadLibraryA in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API LoadLibraryW in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API RtlCaptureContext in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API RtlVirtualUnwind in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API SetHandleCount in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.
    API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. XInputInterface.dll calls this API.


    Any help?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    Looks like XInputInterface.dll you have in your project is compiled for Windows Desktop. You cannot use regular windows desktop DLLs on UWP. Do you have the source code for this DLL?
     
  3. cocacough

    cocacough

    Joined:
    Jul 1, 2015
    Posts:
    78
    Yes I realized that after I wrote the post.
    I recompiled the dll into a UWP dll using the source code and it passed the test.