Is there a way to load all assets at once before they are placed in a level?

Hey, I was wondering if there is a way to load all available assets in the project in one go, as currently when I try to place an asset I haven’t used before I have to go through a lag phase whilst UE4 loads the asset up and then compiles its materials.

Thanks

You can select all the assets from your file in the content browser and simply right click. It will ask you if you want to load all does assets and simply click okay. to select all left click on the first one and then sift left click on the last one.

This way is obsolete now. To do it in Unreal Engine 5 you select all your Assets in the Content Browser, then Right Click, go to Asset Actions, select Load, and now all your assets will load up.

Unreal caches files for the editor in the DDC cache. For the game, PSO is precaching.

Usually you don’t have to precompile all the materials for the editor, Epic recently made shader caching on demand. So that you don’t have to calculate all the permutations at once. In theory, it could help you. But I didn’t try it.


[ODSC - On-Demand Shader Compilation]
(https://portal.productboard.com/epicgames/1-unreal-engine-public-roadmap/c/847-odsc-on-demand-shader-compilation)

Btw: sometimes unreal starts to predict permutations of some parent material after opening a level. It’s because you don’t set material usage foer example for spline mesh, and after opening the level it will change for you so you don’t have artifacts. But then it start recompute permutations again, because you change master material. Same for example if you using Nanite and you dont have check usage in material for Nanite.
Check output log, in filters on top of the window uncheck messages and check warnings, if its there something about it. Or turn it off in the material if it is used incorrectly - for example, you don’t want to use Nanite on meshes with translucent material. It will warn you in editor.

But if you have tens of thousands of shaders computations after editing the master material, you can try to reduce them. Certain features in the engine (eg. support for stationary and static light) or static switches in the material will create more and more permutations for you, because it needs to cache all possibilities that you using.
Understanding Shader Permutations
Optimize Shader Compilation & Package Sizes

In summary:

  1. You can try turned off ODSC
  2. check material usage - should be yellow warnings in output log window (for me it looks like it will be this case)
  3. reduce shader permutations