Textures with dimension != power of two are broken

On 4.13 Preview 3, old my UI icons & resources have been destroyed. They render blank. In the console, there is a warning about how mipmaps couldn’t be generated for this texture.

Those with a dimension that’s a power of two seem to work, the other don’t.

Hey Gwenn,

Did you upgrade your project from a previous version (4.12.5)?

Open up the textures in question and set their Mip Gen Settings to NoMipMaps and be sure they are within the UI Texture Group.

The reason the power of two textures work are because our mip generation implementation within the engine requires power of two textures to correctly scale their resolution at specific distances.

Mip mapping is used when streaming textures in and out of memory to help with memory resource management. This is especially important when you are calling a lot of unique texture fetches and calls and need to have high resolution textures when up close.

Let me know if you have further questions or need additional assistance.

Cheers,

Hey Andrew,

Yes, this is a regression from 4.12.5. I can confirm that the textures broken in 4.13 are those with “inherit” for the mipmap flag and “world” as group. I changed this setting and they are working again.

All those textures are only used in UI, with FSlateBrushes, so texture streaming is irrelevant here.