Fix issue where failure to load a plugin was a silent failure with unattended.

#jira UE-68367
#lockdown Nick.Penwarden
#rb na

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 4729104 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4729105 by andrew grant in Dev-Networking branch]
This commit is contained in:
andrew grant
2019-01-15 17:16:56 -05:00
parent 67134d85bb
commit ded2e0feab

View File

@@ -693,10 +693,10 @@ bool FPluginManager::ConfigureEnabledPlugin(const FPluginReferenceDescriptor& Fi
continue;
}
// If we're in unattended mode, don't open any windows
// If we're in unattended mode, don't open any windows and fatal out
if (FApp::IsUnattended())
{
UE_LOG(LogPluginManager, Error, TEXT("This project requires the '%s' plugin. Install it and try again, or remove it from the project's required plugin list."), *Reference.Name);
UE_LOG(LogPluginManager, Fatal, TEXT("This project requires the '%s' plugin. Install it and try again, or remove it from the project's required plugin list."), *Reference.Name);
return false;
}