Texture unloading is too Aggressive - constant white/untextured surfaces

The texture unloading in the engine is too aggressive, and unloads even at the slightest hint the texture is no longer in use now.

See here:

All I am doing is switching back and forth to first person.

When a texture has been unloaded too soon, the scene renders without textures, which looks glitchy and cheap.

Expected behavior

I would expect the system to have some “grace time” before unloading a texture asset, unless there is a memory pressure event/crysis going on.

Even waiting 10 seconds would be fantastic.

Systems affected:
Particle systems, UI, Surface Appearances, Texture Instances, Decals, Mesh TextureIds

P.S. You have my full sympathy on this one - the switch to aggressively unloading stuff from memory is a huge help for games, and caching is difficult!

11 Likes

Hang tight, getting in touch with the team.

2 Likes