# Document "WhitelistPlatforms"

**URL:** <https://forums.unrealengine.com/t/document-whitelistplatforms/411794>\
**Category:** Plugins\
**Tags:** unreal-engine, documentation, json, Plugins, UE4, question\
**Created:** [December 9, 2017, 1:14am UTC](https://forums.unrealengine.com/t/document-whitelistplatforms/411794 "2017-12-09T01:14:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bff5939d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bff5939d](https://forums.unrealengine.com/u/anonymous_user_bff5939d)\
**Post date:** [December 9, 2017, 1:14am UTC](https://forums.unrealengine.com/t/document-whitelistplatforms/411794/1 "2017-12-09T01:14:40Z")

</div>

This is a documentation bug, but I am using Unreal 4.18.0 on mac.

In the “uplugin” file, under “Modules”, a module entry may have a “WhitelistPlatforms” key. It is a list of strings.

If I search google for “Unreal WhitelistPlatforms”, I find

> **[WhitelistPlatforms](https://docs.unrealengine.com/5.2/en-US/API/Runtime/Projects/FPluginReferenceDescriptor/WhitelistPlatforms/)**
>
> If enabled, list of platforms for which the plugin should be enabled (or all platforms if blank).

> **[WhitelistPlatforms](https://docs.unrealengine.com/5.2/en-US/API/Runtime/Projects/FModuleDescriptor/WhitelistPlatforms/)**
>
> List of allowed platforms

If I search the official Unreal documentation for “WhitelistPlatforms”, I find

> **[Plugins](https://docs.unrealengine.com/5.2/en-US/plugins-in-unreal-engine/)**
>
> How to create Unreal Engine plugins.

Which lists “whitelistplatforms” and “blacklistplatforms”.

**None of these documentation pages for WhitelistPlatforms or BlacklistPlatforms explains what the accepted strings are.**

This can cause real difficulty. The consequence of this is I was blocked for several days on a plugin project&nbsp;because I had misguessed the string for Mac OS X. I had opened a uplugin whose WhitelistPlatforms was “Win64”, “Win32”. I could not find a list of accepted platforms so I experimentally tried “Darwin”. Adding “Darwin” had the effect of causing Unreal to compile but not load the plugin; because it was compiling, I assumed I had guessed “Darwin” right and the loading problem was somewhere else. Oops ☹ I tried a lot of different things and filed an Unreal Answer and wasted a lot of time before I heard secondhand that the correct string was “Mac”. If the documentation simply explained the string was “Mac” I would not have wasted this time.

**Expected behavior** : All three of the above links as well as the BlacklistPlatforms equivalents [here](https://docs.unrealengine.com/latest/INT/API/Runtime/Projects/FModuleDescriptor/BlacklistPlatforms/index.html) and [here](https://docs.unrealengine.com/latest/INT/API/Runtime/Projects/FPluginReferenceDescriptor/BlacklistPlatforms/) should either include the list of accepted platform strings, or link to a page which contains the list of accepted platform strings.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e168914d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e168914d](https://forums.unrealengine.com/u/anonymous_user_e168914d)\
**Post date:** [May 16, 2018, 6:44pm UTC](https://forums.unrealengine.com/t/document-whitelistplatforms/411794/2 "2018-05-16T18:44:09Z")

</div>

Unreal is designed to target just about any platform. The platforms you can target are dynamically added to your project. So the list of acceptable values is dependant on your project as well. If you are using visual studio, these are the targets you have available to you.

Win64  
PS4  
XBoxOne  
HTML5  
Mac  
IOS  
Android  
Linux  
…  
The list can go on and on. And new targets are added all the time.

AS of 4.19.2 this is the current list of supported platforms, taken from …/UE4/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs

```
public enum UnrealTargetPlatform
{
	/// <summary>
	/// Unknown target platform
	/// </summary>
	Unknown,

	/// <summary>
	/// 32-bit Windows
	/// </summary>
	Win32,

	/// <summary>
	/// 64-bit Windows
	/// </summary>
	Win64,

	/// <summary>
	/// Mac
	/// </summary>
	Mac,

	/// <summary>
	/// XboxOne
	/// </summary>
	XboxOne,

	/// <summary>
	/// Playstation 4
	/// </summary>
	PS4,

	/// <summary>
	/// iOS
	/// </summary>
	IOS,

	/// <summary>
	/// Android
	/// </summary>
	Android,

	/// <summary>
	/// HTML5
	/// </summary>
	HTML5,

	/// <summary>
	/// Linux
	/// </summary>
	Linux,

	/// <summary>
	/// All desktop platforms
	/// </summary>
	AllDesktop,

	/// <summary>
	/// TVOS
	/// </summary>
	TVOS,

	/// <summary>
	/// Nintendo Switch
	/// </summary>
	Switch,
}

```

Hope this helps. The string should match the enumeration type name.

---

<div class="post-metadata">

**Author:** ![CudaCal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CudaCal](https://forums.unrealengine.com/u/CudaCal)\
**Post date:** [May 20, 2023, 9:55am UTC](https://forums.unrealengine.com/t/document-whitelistplatforms/411794/3 "2023-05-20T09:55:18Z")

</div>

Updated in UE5.2:

```auto
Win64
HoloLens
Mac
IOS
Android
Linux
LinuxArm64
TVOS

```

FYI You can view more on here: [[UE5] WhitelistPlatforms All Hidden Available Options (Full List Copy) - Cyrus 365](https://www.cyrus365.com/2023/05/20/ue5-whitelistplatforms-all-hidden-available-options/)
