Search Unity

UWP fails Cert with UnityPlayer.dll API error.

Discussion in 'Windows' started by FolkvangStudios, Sep 5, 2019.

  1. FolkvangStudios

    FolkvangStudios

    Joined:
    Aug 25, 2017
    Posts:
    91
    This project hasn't failed before. The only change is I recently did an XBOXOne build then switched back to UWP. But I deleted all the XBOX exclusive items.

    Certification With MS fails with:
    "API GetFileVersionInfoA in version.dll is not supported for this application type. UnityPlayer.dll calls this API"

    I may have to email MS about this as well.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Which Unity version are you on? Did you by chance submit a non-master configuration build, like Release or Debug?
     
  3. FolkvangStudios

    FolkvangStudios

    Joined:
    Aug 25, 2017
    Posts:
    91
    The current 2019.2.3f1.

    I'm actually having quite a few "weird" build errors. Visual Studio 2017 will no longer allow "neutral" to be checked, so I need to build a 32 and 64 bit version. The last 4 builds and uploads has also failed due to strange errors. I haven't had issues like this in the earlier versions of Unity.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Unity never allowed "neutral" builds for UWP because Unity builds contain native code. What kind of errors are you seeing?
     
  5. FolkvangStudios

    FolkvangStudios

    Joined:
    Aug 25, 2017
    Posts:
    91
    So here's my 3 screenshots of the build process. Unity, to Visual Studio to certification. Something is now happening that is adding in some "version.dll" microsoft does not like. yet I cannot find that anywhere in the build. Should I not include the PDB files?





     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    You need to select Master here:

    upload_2019-9-6_17-0-11.png
     
    IVNStudios likes this.
  7. FolkvangStudios

    FolkvangStudios

    Joined:
    Aug 25, 2017
    Posts:
    91
    So weird. I had successfully submit all previous versions with "Release".

    I uploaded 8 hours ago and it hasn't failed yet. I'm hoping that setting to master resolved this. Thank you.
     
  8. FolkvangStudios

    FolkvangStudios

    Joined:
    Aug 25, 2017
    Posts:
    91
    Problem resolved. Setting Unity and Visual Studio to "Master" worked.
     
  9. IVNStudios

    IVNStudios

    Joined:
    Dec 17, 2018
    Posts:
    1

    Oooo thank you very much I was thinking it was on the top bar of the visual studio code and was no the case was during the window of publishing. thanks man