Customizing Device Profiles and Scalability for Android

A reference for device profile rules and scalability settings.

Choose your operating system:




Unreal Engine uses device profiles and scalability settings to customize rendering settings on a per-hardware basis. Scalability settings define levels of quality for individual features like shadows, foliage, and mesh detail, condensing an array of different settings into one easily scaled value. Device profiles then map those settings to devices that are compatible with them.

Android has a large array of profiles matched to specific GPU families . This guide will explain the device-matching rules , how to edit them, and how you can work with scalability settings to create profiles that fit your game's specific needs.

Configs and Order of Priority

Configs in Unreal Engine are read from both your engine's install directory and your project folder. The Engine/Config folder sets the base config settings for the engine. After that, they override each other in the following order:

Order of Priority for Configs

  1. Engine/Config/Base*.ini

  2. Project/Config/Base*.ini

  3. Engine/Config/Android/Android*.ini

  4. Project/Config/Android/Android*.ini

As an example, the AndroidDeviceProfiles.ini file in Engine/Config/Android takes precedence over BaseDeviceProfiles.ini in both Engine/Config and Project/Config . The AndroidDeviceProfiles.ini in Project/Config/Android takes precedence over all of the above.

Android Device Profiles

The standard Android device profiles are Android_Low , Android_Mid , and Android_High . The Android_High profile represents the full range of features that Unreal Engine supports on the highest-end Android devices, while Android_Low represents the minimum feature set for the lowest-end Android devices.

We also categorize more specific device profiles based on the GPU families supported by Unreal Engine, due to the fact that mobile devices with the same GPU typically have similar performance characteristics. These GPU-specific device profiles usually map one of the standard profiles (like Android_High ) to specific devices, but occasionally they need to provide special case tweaks.

For example, the following device profiles are for Adreno 5xx devices in Unreal Engine 4.24:


[Android_Adreno5xx DeviceProfile]

[Android_Adreno5xx_No_Vulkan DeviceProfile]
; There are several issues (vulkan sub-passes, occlusion queries) on devices running Android 7 and earlier

The standard Android_Adreno5xx device profile inherits from Android_High for all of its base settings, with only one override for rDisjointTimerQueries . The Android_Adreno5xx_No_Vulkan profile then inherits from the standard Android_Adreno5xx profile, and provides another override disabling support for the Vulkan renderer due to issues on older Adreno5xx devices.

Depending on your game's content you may need to override existing profiles or provide new ones within your project's AndroidDeviceProfiles.ini . You can extend these GPU-specific profiles further to represent even more specific devices within these GPU families if need be, or you can re-write any previously defined profiles completely.

Device Profile Matching Rules

When an Unreal Engine application launches, it loads information about the device that is running it. The application then iterates through a list of rules that identify devices based on these parameters. These can be found in **BaseDeviceProfiles.ini** , under the section [/Script/AndroidDeviceProfileSelector.AndroidDeviceProfileMatchingRules] . When the application finds a rule that matches the device information retrieved, it stops running through the list and uses that device profile.

The format for an entry in this list is as follows:

+MatchProfile=(Profile="Profile_Name", Match=( ( Rule 1 ), ( Rule 2 ), (...) )

The rules themselves are string comparisons taking the following format:

SourceType=[source string], CompareType=[comparison type], MatchString=[string to compare the source string to]

Depending on what value you supply to SourceType , it will output a source string that the system will then compare MatchString to.

The values that are valid for SourceType and their corresponding source string outputs are as follows:

SourceType Value


Example Output


The model number of the device.

"Nexus 6"


The manufacturer of the device.



The GPU family of the GPU in this device.

"Adreno (TM) 320", "NVIDIA Tegra"


The OpenGL version this device is running.

OpenGL ES 3


The version of the Android operating system used by this device.

Any numeric value.


Checks to see if the application was packaged with Vulkan enabled, and if the device supports the required version of Vulkan specified in your Project Settings.

False if Vulkan is not available, true if it is.


The version of Vulkan this device uses, if available.

Any numeric value.


The value of a previous regex match within the same MatchProfile entry.

Any information previously output by a regex match.

The comparison types available are as follows:

Comparison Type



Performs a comparison that uses regex operators in the MatchString.


Check that the values of the two strings are exactly the same.


As CMP_Equal , but ignores case-sensitivity.


Check that the values of the two strings are not the same.


As CMP_NotEqual , but ignores case-sensitivity.


Checks to see if the numeric value of the source string is less than the MatchString.


As CMP_Less , but ignores case-sensitivity.


As CMP_Less , but returns true if the source and MatchString are equal as well.


As CMP_LessEqual , but ignores case-sensitivity.


Checks to see if the numeric value of the source string is greater than the MatchString.


As CMP_Greater , but ignores case-sensitivity.


As CMP_Greater , but returns true if the source and MatchString are equal as well.


As CMP_GreaterEqual , but ignores case-sensitivity.

As an example, the following is an entry for Mali T8xx devices in 4.24:


+MatchProfile=(Profile="Android_Mali_T8xx_No_Vulkan",Match=((SourceType=SRC_GpuFamily,CompareType=CMP_Regex,MatchString="^Mali\\-T8"),(SourceType=SRC_AndroidVersion, CompareType=CMP_Regex,MatchString="([0-9]+).*"),(SourceType=SRC_PreviousRegexMatch,CompareType=CMP_Less,MatchString="8")))

This MatchProfile entry has three rules:

  1. There must be a regex match for the GPU family with the string "^Mali\-T8".

  2. The Android version must have one or more digits, and the digits will be remembered until a non-digit is found.

  3. The Android version obtained from the second rule must be less than 8.

If all of these criteria are met, it will use the profile Android_Mali_T8xx_No_Vulkan .

The device profile rules are listed first by manufacturer, and then in ascending order from the lowest-end specifications to the highest. The standard Android profiles are listed as fallbacks in case none of the rules fit and the specific device cannot be identified.

If you add any rules to this list, make sure that you place them in the appropriate order relative to other devices within the same family.

Enabling Vulkan

A special parameter called VulkanAvailable is used to discern whether or not a device can use the Android Vulkan renderer. It first checks to see if the game itself has Vulkan support enabled, then checks to see if the device has Vulkan drivers. If both of these conditions are met, then VulkanAvailable is considered true .

Devices that support Vulkan have profiles both with and without Vulkan enabled to account for projects that do not use Vulkan even though it is available on the target device. All profiles have a parameter called r.Android.DisableVulkanSupport , which by default is set to 1 . Vulkan-enabled device profiles override this parameter to 0 .

Enabling Vulkan is only recommended for devices running Android 9 or higher, as the earliest devices with Vulkan support had a number of bugs in their drivers.

Scalability Settings

Unreal Engine's base Scalability Settings are defined in Engine/Config/BaseScalability.ini , which can be found in your engine install directory. The Scalability Settings for Android devices are defined in Engine/Config/Android/AndroidScalability.ini .

Scalability Location

Understanding Scalability Values

Scalability settings take in broad sets of parameters and condense them under broad categories that can then be defined with simple values between 0 and 3. For example, this is the scalability mapping for ShadowQuality level 0 in BaseScalability.ini :



Each of the values listed represent highly specific features, and each of them has their own scale. For example, some work in terms of pixel resolution, some work in terms of a scale factor that multiplies a default value, and some are more arbitrary. These can be overwhelming to define on a per-feature basis, and they need to be tweaked in-between releases as hardware is frequently updated.

Therefore, we use ShadowQuality to condense a group of related settings under a single, human-readable value. The above entry defines how all of these values behave when sg.ShadowQuality is set to 0 in a config file. Similar entries exist for ShadowQuality@1 through 3 .

The guidelines for these default scalability values are as follows:

Scalability Value



Low quality. The lowest settings that are compatible with the minimum range of hardware that Unreal Engine supports.


Medium quality. Settings that are comfortable on a broad range of hardware in-between the lowest-end and highest-end devices that Unreal Engine has been tested on.


High quality. Settings that are comfortable on most high-end hardware that Unreal Engine has been tested on.


Epic quality. The highest values possible for a given feature on the current version of Unreal Engine.

Overriding Scalability Settings

To override scalability settings, you can create an AndroidScalability.ini in your project's own Config directory. For example, if you have a project called AndroidQuickStart, you would place it in AndroidQuickStart/Config/Android .

Scalability Location for Projects

Any scalability settings created in this file will take precedence over the settings defined in Engine/Config/Android/AndroidScalability.ini .

Setting Scalability Values in Device Profiles

To refer to a scalability value in device profiles, use the prefix sg. followed by the name of the value you want to set. For example, if you wanted to set ShadowQuality to 1 in a device profile, you would use the following:

+CVars=sg.ShadowQuality = 1

Any settings that you list after this scalability value will take precedence over its original value. However, we strongly recommend that you change scalability parameters inside your *Scalability.ini files and observe the scalability groups consistently instead changing small-scale parameters inside of device profiles. This ensures that Preview Rendering Level inside the editor accurately applies mobile scalability values.

Changing Scalability Settings at Runtime

The initial scalability settings selected by a device profile are simply the defaults, and scalability can easily be changed at runtime through a variety of methods.

Using the Settings Menu in Unreal Editor

For testing purposes, you may change the scalability settings in your game inside Unreal Editor by clicking the Settings dropdown in the toolbar and navigating to Engine Scalability Settings .

Click image for full size.

Any changes made in this menu are applied immediately.

Changing Scalability Settings with Console Commands

You may also refer to any scalability setting as a console command . For example, if you type sg.FoliageQuality 2 inside the console and press enter, it will change the value of all the CVars under FoliageQuality accordingly.

Click image for full size.

The values in the Engine Scalability Settings menu will reflect this change.

Reflected Change

You may also output the current value of a scalability setting by typing in its name as a console command, with no numeric value. For example, if you type sg.FoliageQuality and press enter, the console will print both the current value of FoliageQuality and the last place where it was set.

Console Output

Changing Scalability Settings in Blueprint

While you can use console commands through Blueprint to change scalability settings, they are also accessible through dedicated functions as a part of Game User Settings , which you can get a reference to using the Get Game User Settings node.

Click image for full size.

You can use this functionality together with UMG to build menus where your users can change these settings. This enables users to customize a game's graphics and performance as desired.

Changing Scalability Settings in C++

In C++, Game User Settings can be accessed with the static function UGameUserSettings::GetGameUserSettings . You can then use its dedicated get and set functions to get and set the quality level on scalability settings.

#include "MyActor.h"
#include "GameUserSettings.h"

void AMyActor::SampleScalabilityFunctions()
    //Getting a reference to the Game User Settings.
    UGameUserSettings* UserSettings = UGameUserSettings::GetGameUserSettings();

    //Getting the current Foliage Quality.
    Int32 FoliageQuality = UserSettings->GetFoliageQuality();

    //Setting the current Foliage Quality to High.
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey