Search Unity

Async texture loading to reduce severe framerate drop.

Discussion in 'AR/VR (XR) Discussion' started by cowlinator, Mar 4, 2015.

  1. cowlinator

    cowlinator

    Joined:
    Mar 15, 2012
    Posts:
    69
    Framerate is a critical issue in VR. For anyone who has ever tried to download images any larger than thumbnails and load them into textures in a VR app, you know that Unity makes this a painfully stuttery experience, because textures are created/loaded synchronously on the main thread only. It doesn't matter whether you use Texture2D.LoadImage, Texture2D.SetPixels, WWW .texture, WWW .textureNonReadable, WWW .LoadImageIntoTexture, etc.

    If you would like to see async texture loading, please vote for it! http://feedback.unity3d.com/suggestions/async-texture2d-dot-loadimage-and-other-texture-operations
     
    VRtube and scott5678 like this.