#error PLATFORM_SUPPORTS_MESSAGEBUS was explicitly defined in CrashReportClient.Target.cs for shipping configuration. MessageBus is required by Concert. Ensure it is still enabled.
#endif
if(!IMessagingModule::Get().GetDefaultBus())
{
UE_LOG(CrashReportClientLog,Error,TEXT("MessageBus is not enabled in this configuration. Recovery service will be disabled!"));
returnfalse;
}
if(!IConcertSyncServerModule::IsAvailable())
{
UE_LOG(CrashReportClientLog,Error,TEXT("ConcertSyncServer Module is missing. Recovery service will be disabled!"));
// The UdpMessaging plugin should be added to the {appname}.Target.cs build file.
UE_LOG(CrashReportClientLog,Error,TEXT("The 'UDP Messaging' plugin is disabled. The Concert server only supports UDP protocol. Recovery service will be disabled!"));
returnfalse;
}
// Setup the disaster recovery server configuration
ServerConfig->bMountDefaultSessionRepository=false;// Let the client mount its own repository to support concurrent recovery server and prevent them from concurrently accessing non-sharable database files.
ServerConfig->AuthorizedClientKeys.Add(ServerConfig->ServerName);// The disaster recovery client is configured to use the unique server name as key to identify itself.