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. Dismiss Notice

Question Tell the player if the device doesn't support Vulkan

Discussion in 'Android' started by Taigama, May 24, 2023.

  1. Taigama

    Taigama

    Joined:
    Oct 17, 2015
    Posts:
    18
    Hello.
    My developing mobile games is only playable on Vulkan, it uses ECS and Hybrid Renderer V2.
    Players use "budget" phones like Xiaomi Redmi 9C or Nokia C20 which has Vulkan disabled by the manufacturer itself, can't play the game. They only see the black screen after the slash screen.

    Anyway to
    - Imediately after the slash screen, before the Vulkan display be rendererd, check whether the phone has Vulkan API or not.
    - Display a popup (like Android Toast) tell the player that the device doesn't support Vulkan Graphics API.

    Thank you.
     
  2. DustinMatthew

    DustinMatthew

    Joined:
    Jul 10, 2020
    Posts:
    8
    You can define minimum specs for your app on Google Play. If Vulkan is required and the device doesn't support it, the app won't even appear in Google Play search results, let alone be installable.
     
  3. Taigama

    Taigama

    Joined:
    Oct 17, 2015
    Posts:
    18
    - Hello.
    - Thank you for your response.
    - Google doesn't know which device has Vulkan or not, this is heavily depend on the manufacturer, Google (and Unity?) seem to not collect this information.
    - This is a list of Android devices which surely have Vulkan API: http://vulkan.gpuinfo.org/listdevices.php?platform=android
    - Beside that, most devices with modded roms have Vulkan API available. Like my Redmi 8A, formerly doesn't have Vulkan (disabled by Xiaomi), but with custom rom installed, it can play game with Vulkan very well.
    - I can't set requirement based on CPU speed and Ram, because old devices with low Ram and CPU Speed can still play Vulkan well. Like my Xiaomi Redmi 4X only 2GB ram, 1.8GHz but supported Vulkan natively.