- Now check if a "GettingStarted" path is a valid package name before trying to load it as an object to avoid some Verify's, etc

- Fix the call to IsValidLongPackageName() in FPackageName::DoesPackageExist() to pass the proper path in (it would pass in an empty string)
#rb none
#fyi ben.marsh
#jira UE-74347

[CL 6597894 by Josh Adams in Dev-Build branch]
This commit is contained in:
Josh Adams
2019-05-21 15:26:31 -04:00
parent 37f2f8ac8a
commit 52e70f668d
2 changed files with 7 additions and 4 deletions

View File

@@ -371,10 +371,13 @@ void FIntroTutorials::HandleCompilerNotFound()
void FIntroTutorials::HandleSDKNotInstalled(const FString& PlatformName, const FString& InTutorialAsset)
{
UBlueprint* Blueprint = LoadObject<UBlueprint>(nullptr, *InTutorialAsset);
if(Blueprint)
if (FPackageName::IsValidLongPackageName(InTutorialAsset, true))
{
LaunchTutorialByName( InTutorialAsset );
UBlueprint* Blueprint = LoadObject<UBlueprint>(nullptr, *InTutorialAsset);
if (Blueprint)
{
LaunchTutorialByName(InTutorialAsset);
}
}
else
{