Merge pull request #1543 from aws-lumberyard-dev/native-ui-changes

More specific component error messaging and modes for native UI to prevent blocking dialog in some applications
This commit is contained in:
amzn-mgwynn
2021-06-25 19:18:03 -04:00
committed by GitHub
17 changed files with 194 additions and 37 deletions
+8
View File
@@ -568,6 +568,14 @@ namespace O3DELauncher
AZ_Assert(AZ::AllocatorInstance<AZ::SystemAllocator>::IsReady(), "System allocator was not created or creation failed.");
//Initialize the Debug trace instance to create necessary environment variables
AZ::Debug::Trace::Instance().Init();
if (!IsDedicatedServer() && !systemInitParams.bToolMode && !systemInitParams.bTestMode)
{
if (auto nativeUI = AZ::Interface<AZ::NativeUI::NativeUIRequests>::Get(); nativeUI != nullptr)
{
nativeUI->SetMode(AZ::NativeUI::Mode::ENABLED);
}
}
}
if (mainInfo.m_onPostAppStart)