You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Don't remove plugins for the 'Desktop' target platform if we don't have the UEBuildPlatform registered. It breaks a LOT of things if you download the engine to your desktop.
#codereview Josh.Adams [CL 2535030 by Ben Marsh in Main branch]
This commit is contained in:
committed by
Ben.Marsh@epicgames.com
parent
53fafaf1c9
commit
a503253013
@@ -2525,7 +2525,7 @@ namespace UnrealBuildTool
|
||||
// Remove any plugins for platforms we don't have
|
||||
foreach (UnrealTargetPlatform TargetPlatform in Enum.GetValues(typeof(UnrealTargetPlatform)))
|
||||
{
|
||||
if (UEBuildPlatform.GetBuildPlatform(TargetPlatform, true) == null)
|
||||
if (TargetPlatform != UnrealTargetPlatform.Desktop && UEBuildPlatform.GetBuildPlatform(TargetPlatform, true) == null)
|
||||
{
|
||||
string DirectoryFragment = String.Format("/{0}/", TargetPlatform.ToString());
|
||||
ValidPlugins.RemoveAll(x => x.Directory.Replace('\\', '/').Contains(DirectoryFragment));
|
||||
|
||||
Reference in New Issue
Block a user