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.

[Bug] Unity 5.4 - WACK: The app failed prelaunch test

Discussion in 'Windows' started by Wadjey, Aug 15, 2016.

  1. Wadjey

    Wadjey

    Joined:
    Feb 4, 2015
    Posts:
    244
    Hi,
    Unity 5.4 has a regression with Windows 10 UWP, now the app fail to pass Windows App Certification Kit with the following error:

    App prelaunch
    • Error Found: The app prelaunch validation detected the following errors:
      • The app failed prelaunch test - XXXXXX.XXXXXXXX_1.1.0.0_x64__3b9an4fqa6kcr.
    • Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled.
    • How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be prelaunch event aware.
    I created a bug case: 823115

    Until Unity team provide a fix, there is a workaround for this issue?


     
  2. Wadjey

    Wadjey

    Joined:
    Feb 4, 2015
    Posts:
    244
    Any help about this issue?
     
  3. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,693
    In our automated tests, this test passes, so this must be something specific in your case.

    Things to try:
    * try creating UWP project from Visual Studio menu and see if WACK fails then.
    * Have you checked OnLaunched method how the error suggests, maybe you've modified it in some way?
     
  4. andrescavallin

    andrescavallin

    Joined:
    Mar 29, 2014
    Posts:
    11
    Hello, this is a know problem of the Windows App Certification Kit. This error will not stop you from completing submission, you can still get your app published on the store. If you want to fix the error you need to upgrade to the latest Windows 10 update which is Anniversary Edition.
    Read this:
    https://developer.microsoft.com/en-us/windows/develop/app-certification-kit