Non targeted platforms in .uplugin file building anyway when packaging a C++ plugin.

Hi devs. I’m currently trying to package a plugin on 4.27.2 for only Win64. I have specified in the .uplugin file to only build for Win64. Here is the file.

{
“FileVersion”: 3,
“Version”: 1,
“VersionName”: “1.0”,
“FriendlyName”: “HybridPathfinderPlugin”,
“Description”: “An A* Manhattan blueprint callable C++ plugin for the XGrid framework.”,
“Category”: “Other”,
“CreatedBy”: “Andrew Graham”,
“CreatedByURL”: “www.unrealization.com”,
“DocsURL”: “”,
“MarketplaceURL”: “”,
“SupportURL”: “”,
“CanContainContent”: true,
“IsBetaVersion”: false,
“IsExperimentalVersion”: false,
“Installed”: false,
“Modules”: [
{
“Name”: “HybridPathfinderPlugin”,
“Type”: “Runtime”,
“LoadingPhase”: “Default”,
“SupportedTargetPlatforms”: [
“Win64”
]
}
]
}

I have also tried other terms inside of the modules block such as

“WhiteListPlatforms”: [
“Win64”
]

“BlackListPlatforms”:[
“IOS”,
“Android”,
“Linux”
]

It seems like no matter what I do, when I use the package functionality from the plugin window in the UE editor it always tries to build for other platforms. At first it runs only the Win64 build, but when it finishes it tries to build for the other platforms. Here’s a snippet from the output log that shows up after the build succeeds for Win64

UATHelper: Package Plugin Task (Windows): Building plugin for target platforms: Android, IOS, Linux, LinuxAArch64, Win64, Win32

Android platform builds correctly, but IOS throws this error

UATHelper: Package Plugin Task (Windows): ERROR: Remote compiling requires a server name. Use the editor (Project Settings > IOS) to set up your remote compilation settings.

I really only need this to work for Win64, and despite my best efforts at researching here on the forums I can’t seem to get the package builder to specify only windows. If anyone else has run into this problem and knows how to target a single platform for the build, please let me know, and thanks for taking the time to read this.

Hi,

I’m not sure if it’s case specific, but I use “WhitelistPlatforms” for 4.27 uplugins - it maybe getting confused with the capital “L”?

Thanks for your response!

I tried lowercase as well, it still builds the Win64 platform and then tries to build the other platforms. Was worth a shot though.

Try “PlatformAllowList”