diff --git a/Source/CesiumRuntime/Private/Tests/CesiumLoadTest.cpp b/Source/CesiumRuntime/Private/Tests/CesiumLoadTest.cpp index cc4da39fe..fb8ce9a56 100644 --- a/Source/CesiumRuntime/Private/Tests/CesiumLoadTest.cpp +++ b/Source/CesiumRuntime/Private/Tests/CesiumLoadTest.cpp @@ -114,6 +114,12 @@ bool tickWorldUntil( ENamedThreads::GameThread); FTSTicker::GetCoreTicker().Tick(frameElapsedTime); + // Let UI update + // Not absolutely necessary, but convenient when running the tests + // from inside the editor, so the UI doesn't appear frozen + FSlateApplication::Get().PumpMessages(); + FSlateApplication::Get().Tick(); + if (breakFunction(context)) return false;