x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Document "WhitelistPlatforms"

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 https://docs.unrealengine.com/latest/INT/API/Runtime/Projects/FPluginReferenceDescriptor/WhitelistPlatforms/
https://docs.unrealengine.com/latest/INT/API/Runtime/Projects/FModuleDescriptor/WhitelistPlatforms/index.html

If I search the official Unreal documentation for "WhitelistPlatforms", I find https://docs.unrealengine.com/latest//INT/Programming/Plugins/index.html
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 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 and here should either include the list of accepted platform strings, or link to a page which contains the list of accepted platform strings.

Product Version: UE 4.18
Tags:
more ▼

asked Dec 09 '17 at 01:14 AM in Bug Reports

avatar image

mcclure111
51 1 4 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered May 16 '18 at 06:44 PM

avatar image

DanHollingsworth
24 1 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question