- Added early check before creating a TargetPlatform object if the PlatformInfo will be found (check a static function to see if it's usable before making it)

- Changed each platform's GetTargetPlatform[s] function
#rb none
#jira UE-78692
[FYI] bob.tellez


#ROBOMERGE-SOURCE: CL 7952099 via CL 7954770
#ROBOMERGE-BOT: (v393-7951996)

[CL 7954968 by josh adams in Main branch]
This commit is contained in:
josh adams
2019-08-12 18:12:07 -04:00
parent adf84aa0c0
commit 3d282bf6e7
20 changed files with 29 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ public:
virtual TArray<ITargetPlatform*> GetTargetPlatforms() override
{
if (TargetPlatforms.Num() == 0)
if (TargetPlatforms.Num() == 0 && FAndroidTargetPlatform::IsUsable())
{
for (int32 Type = 0; Type < 2; Type++)
{