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.

When making Windows Store build, icons not found in manifest and icon file size error

Discussion in 'VR' started by quitebuttery, Aug 1, 2016.

  1. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    313
    I'm trying to make a build for the Windows store. I set up the icon files as suggested in this document:

    https://developer.microsoft.com/en-us/windows/holographic/submitting_an_app_to_the_windows_store

    But I get the following errors from Visual Studio when in the package when building for the Windows Store:

    SeverityCodeDescriptionProjectFileLineSuppressionStateErrorApp manifest references the image 'Assets\StoreLogo.png' which does not have a candidate in main app package.EtherWars C:\Users\Flarb\Desktop\app\Ether Wars\Package.appxmanifest 8

    ErrorApp manifest references the image 'Assets\Square71x71Logo.png' which does not have a candidate in main app package.EtherWars C:\Users\Flarb\Desktop\app\Ether Wars\Package.appxmanifest 19

    ErrorApp manifest references the image 'Assets\Square310x310Logo.png' which does not have a candidate in main app package.EtherWars C:\Users\Flarb\Desktop\app\Ether Wars\Package.appxmanifest 19

    ErrorApp manifest references the square 310x310 logo image 'Assets\Square310x310Logo.scale-100.png' which is larger than the maximum image file size.It must be no larger than 204800 bytes.EtherWars C:\Users\Flarb\Desktop\app\Ether Wars\Package.appxmanifest 19


    I actually fixed the last bug by running the 310x310 icon through PngCrush (shouldn't Unity be doing this automatically??) But it seems like Unity is building a manifest with the wrong paths for the icon images? These icons are all wired up in the inspector for the player settings--but they are apparently not in the right place in this package?

    Anyone else get this error?
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    Can you please submit a bug report with a min repro project so we can reproduce the issue?

    Thank you,
    Wesley
     
  3. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    313
  4. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Thank you, looking at the bug now.
     
    unity12animares likes this.
  5. ScottF

    ScottF

    Vice President, Platforms Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    96
    @quitebuttery which UWP SDK are you using? This looks like a rather old bug if I recall correctly. Its possibly your on an older SDK. This may even have something to do with the UNET errors you are seeing.
     
  6. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    313
    @ScottF how Do I find that out? I'm using whatever is installed when you install the latest Unity for Hololens version. I ripped out the UNET code and it can compile and deploy now, but still won't build for the store due to missing icon files.

    I did update Visual Studio to the latest version, still doesn't work.
     
  7. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    313
    Nothing...?
     
  8. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    If you go to help -> About Microsoft Visual Studio, this will open windows were you will see to version numbers. The one on the left is your current update, and the one on the right is you current SDK.

    You can also go to Add or Remove Programs and look at the Windows 10 SDK you have installed there as well.

    Thank you,
    Wesley
     
  9. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    313
    BTW, I updated NuGet to all the latest packages, moved to a shorter command line, and now I only get two errors:

    Severity Code Description Project File Line Suppression State
    Error App manifest references the image 'Assets\StoreLogo.png' which does not have a candidate in main app package. Ether Wars C:\U\EW\App\Ether Wars\Package.appxmanifest 8
    Error App manifest references the image 'Assets\Square71x71Logo.png' which does not have a candidate in main app package. Ether Wars C:\U\EW\App\Ether Wars\Package.appxmanifest 19



    Ay ideas?
     
  10. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    313
    Ok @Unity_Wesley -- says

    Version 14.0.25425.01 Update 3

    Also:

    Microsoft.NET Framework
    Version 4.6.01038

    Is this the latest? It doesn't say I have any updates left to get.
     
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,151
    Here's your problem:

    Your icon is too large - it cannot be larger than 200 KB.
     
  12. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    313