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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Windows 10 Universal failed on min RAM requirement

Discussion in 'Windows' started by wulveagfin, Dec 16, 2015.

  1. wulveagfin

    wulveagfin

    Joined:
    Oct 3, 2014
    Posts:
    27
    Built a Windows 10 Universal version of one of my games. It's RAM intensive and requires 1+ GB of RAM to run. I specified that in the store listing's requirements section. However it failed approval:


    App Policies: 10.4.1 Compatible Devices

    The app must run on devices that are compatible with the software, hardware and screen resolution requirements specified by the application.

    If an app is downloaded on a device with which it is not compatible, it should detect that at launch and display a message to the customer detailing the requirements.

    Notes To Developer

    The app does not run on Windows Phone 620 device with 512-MB of memory.

    Steps to Reproduce:
    1. Launch the app.
    2. Notice that the app terminates silently.​


    I found this old post for Windows 8:
    http://forum.unity3d.com/threads/how-to-report-ram-requirement-on-low-end-devices.330233/

    However Windows 10 Universal app produces "Packae.appxmanifest" file without anything commented out. Is this still the place to put in that extra xml flag? And where precisely should I put it?

    I poked around and can't find any obvious setting in the VS build for Windows 10 Universal or in Unity's UX where I specified min RAM.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
  3. wulveagfin

    wulveagfin

    Joined:
    Oct 3, 2014
    Posts:
    27
  4. wulveagfin

    wulveagfin

    Joined:
    Oct 3, 2014
    Posts:
    27
    It got approved.

    For those searching Google in the future and coming accross this post:

    I created a StoreManifest.xml file by doing the normal "add new item" XML file type in Visual Studio.

    It's contents are exactly this:

    <?xml version="1.0" encoding="utf-8"?>
    <StoreManifest xmlns="http://schemas.microsoft.com/appx/2015/StoreManifest">
    <Dependencies>
    <MemoryDependency MinForeground="300MB" />​
    </Dependencies>​
    </StoreManifest>​


    As the linked blog post above states (and in case it ever disappears)

    where MemoryDependency is
    300MB = device must have at least 1 GB of installed memory
    750MB = device must have at least 2 GB of installed memory
    1000MB = device must have at least 3 GB of installed memory
    2000MB = device must have at least 4 GB of installed memory
    https://msdn.microsoft.com/en-us/library/windows/apps/mt617330.aspx

    My submission was originally rejected. After I wrote a note to the approver via "Notes for certification" stating that the StoreManifest file exists and will prevent 1 GB phones from downloading, the app passed.