Search Unity

UWP fails Cert with UnityPlayer.dll API error.

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

  1. ChaosriftGames

    ChaosriftGames

    Joined:
    Aug 25, 2017
    Posts:
    35
    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:
    6,443
    Which Unity version are you on? Did you by chance submit a non-master configuration build, like Release or Debug?
     
  3. ChaosriftGames

    ChaosriftGames

    Joined:
    Aug 25, 2017
    Posts:
    35
    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:
    6,443
    Unity never allowed "neutral" builds for UWP because Unity builds contain native code. What kind of errors are you seeing?
     
  5. ChaosriftGames

    ChaosriftGames

    Joined:
    Aug 25, 2017
    Posts:
    35
    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:
    6,443
    You need to select Master here:

    upload_2019-9-6_17-0-11.png
     
  7. ChaosriftGames

    ChaosriftGames

    Joined:
    Aug 25, 2017
    Posts:
    35
    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. ChaosriftGames

    ChaosriftGames

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