By default, Unity prevents Android devices known to run Unity applications sub-optimally with Vulkan graphics API. However, your testing might reveal that some restricted devices actually run your application better with Vulkan API than with OpenGLES3 API. Alternatively, you might want to further restrict some devices to run your application with Vulkan API. Using Android Vulkan Allow and Deny Filter Lists, you can fine tune which devices you want to allow to run your application with Vulkan API.
With Android Vulkan Allow Filter List, you can allow certain devices to use Vulkan as the default graphics API to run your application. Alternatively, with Android Vulkan Deny Filter List, you can limit certain devices from using Vulkan API to run your application. For both types of list, you can specify values for the following parameters to identify a device or set of devices:
You can use C# regular expressions for all the parameters, except Vulkan API version and Driver version. For example, [A|a]dreno .*6[0-9][0-9]
, Qual*
, [S|s]amsung
. The Unity Editor displays an error for an invalid regular expression.
The device properties must match all the parameter values (logical AND) to determine whether it’s allowed or denied to run your application with Vulkan API. The Allow Filter List identifies all the devices with Vulkan API and driver versions equal to or greater than the specified parameter values. For example, if you specify the GPU vendor as Qualcomm, the GPU model name as Adreno, and Vulkan API version as 1.1.128
, the Allow Filter List will allow all the devices with Qualcomm Adreno GPU that have Vulkan API version greater than or equal to 1.1.128
.
The Deny Filter List identifies all the devices with Vulkan API and driver versions less than or equal to the specified parameter values. For example, if you specify the GPU vendor as ARM, the GPU model name as Mali, and Vulkan driver version as 0.676.0
, the Deny Filter List will restrict all the devices with ARM Mali GPU that have Vulkan driver version less than or equal to 0.676.0
.
Note: Although you can restrict the use of Vulkan on a group of devices, you can use the Allow Filter List to enable particular devices from that group to still use Vulkan.
To allow Android devices to always use Vulkan API, use the following steps:
Android devices that meet the specifications defined in the parameter values will always use Vulkan API for Unity applications.
To restrict Android devices from using Vulkan API, use Android Vulkan Deny Filter List and follow the same steps as earlier.
Notes:
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.