Search Unity

Is there still a need for pre-warming textures in Unity 2019.1 or newer ?

Discussion in 'General Graphics' started by JonPQ, Mar 10, 2020.

  1. JonPQ

    JonPQ

    Joined:
    Aug 10, 2016
    Posts:
    120
    Is there still a need for pre-warming textures in Unity 2019.1 or newer ?
    in older versions of unity (4, 5), especially on mobile... unity would occasionally pause / hitch long enough to interrupt frame rate, when drawing a new large texture for the first time.... possiby unity was loading or decompressing texture, or getting it into vram, or texture thrashing....

    We used to solve this by drawing all the textures/materials behind the initial loading screen to force them to be loaded into vram / prepped.

    We are now optimizing our game, adding pools, etc.... but wondering if we still need to do texture pre-warming ? is this kind of hitch still a thing ? is it worth doing pre warming? Is there information anywhere on how unity manages textures in the background ( especially on mobile)

    thx