Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTextLocalizationManager
Description
Wait for any current async tasks to finish. Async tasks will be started for anything that loads localization data (eg, initialization, language changes, requests to refresh the localization data, requests to load additional localization data for chunked targets, or requests to load additional localization data for explicitly loaded plugins).
While the engine automatically waits at certain points during initialization, you may find that you need to add your own waits if you cause additional localization data to load post-initialization (eg, because you're using chunked localization targets or are explicitly loading plugins). A good place to add a wait in that case might be at the end of your loading screen, before showing your main menu or game world.
| Name | WaitForAsyncTasks |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/TextLocalizationManager.h |
| Include Path | #include "Internationalization/TextLocalizationManager.h" |
| Source | /Engine/Source/Runtime/Core/Private/Internationalization/TextLocalizationManager.cpp |
void WaitForAsyncTasks()
See Also
- NotifyWhenAsyncTasksCompleted for an non-blocking version.