- Merged from FN/Main to 4.23:

- 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

[CL 8031412 by Josh Adams in 4.23 branch]
This commit is contained in:
Josh Adams
2019-08-14 11:13:59 -04:00
parent 452c6f28d6
commit 7efc6ca8c4
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++)
{