The AssetCompilingManager has a static function Get().
But
- how can i get the ShaderCompilingManager?
- and next, how can i force the shader manager to finish all compile jobs?
FAssetCompilingManager::Get().FinishAllCompilation();
I am working on a Mod Manager. Here is my test case:
a) set virtual path /Game/ to mod
b) load mod level
c) set virtual path /Game/ to main game
Textures are currently missing from all mod levels because material compilation is asynchronous. All compilation have to be done at step b). Otherwise the mod materials/textures cannot be found.