Search code examples
uwpwack

UWP App Failing WACK with Multiple Errors


In the past I have successfully developed and deployed a few UWP apps to the MS Store. Currently getting a large number of unexpected failures, of types that I've never had before, when trying to pass the WACK test.

I started this specific project in Nov 2017. Technically it's not that advanced, from a code perspective I'm not doing anything I haven't successfully passed through WACK before.

  • VS 2017 Community v15.8.8
  • Project Target (& Min) version: Windows 10 Anniversary Edition 10.0; Build 14393
  • (WACK) Kit Version: 10.0.17763.132
  • OS Version: Microsoft Windows 10 Pro (10.0.17134.0)

Update: 5-Feb I also get failures when trying to pass a brand new application using VS defaults (Target version: 1803 build 17134, min version: Creators update build 15063). I get a lot less errors but still some unexpected ones.

Update: 7-Feb This question/answer also helped: Totally Blank Unity / Microsoft Store Build fails WACK tests

Errors include (but not limited to):

  • Bytecode generation Error Found: The bytecode generation test detected the following errors:

    System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Windows.SoftwareLogo.Tests.Utility.IsPackageWWA(AppXPackage package) at Microsoft.Windows.SoftwareLogo.Tests.BytecodeGenerationCheck.BytecodeGenerationCheck.ExecuteSharedValidation(String manifestFilePath, String packageFullName) at Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

  • Platform version launch Error Found: The high OS version validation detected the following errors:

    System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Windows.SoftwareLogo.Tests.Utility.LaunchAppTest(String packageFullName, String manifestFilePath, String testName) at Microsoft.Windows.SoftwareLogo.Tests.HighOSVersionLaunchCheck.HighOSVersionLaunchCheck.Test(UapApp uapApp) at Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

  • App launch Error Found: The app launch test detected the following errors:

    System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Windows.SoftwareLogo.Tests.Utility.LaunchAppTest(String packageFullName, String manifestFilePath, String testName) at Microsoft.Windows.SoftwareLogo.Tests.LaunchAppCheck.LaunchAppCheck.Test(UapApp uapApp) at Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

Any ideas? I've uninstalled my App, and rebooted, still no success.


Solution

  • If you can generate package successfully, but WACK failed on local machine. You could ignore it and upload your package to dev center directly. If you can pass the MS store WACK online, then there's no problem with your package.