How can I load local images asynchronously?
<p>I want to load a local image asynchronously, but "sprite.create" takes so much time which make my UI stop. How can I fix this?</p>

<pre><code>WWW www = new WWW (filePath);
    yield return www;

    Texture2D texture = new Texture2D(4, 4, TextureFormat.ARGB32, true);
    www.LoadImageIntoTexture(texture);
    www.Dispose ();
    www = null;

    curTexture = texture;
    img.sprite = Sprite.Create (curTexture, new Rect (0, 0, curTexture.width, curTexture.height), new Vector2 (0.5f, 0.5f));
</code></pre>

<p><strong>Update 2016.08.26:</strong></p>

<p>I used RawImage to set texture instead of using Image which need to change texture to sprite.</p>

<p>Another question is that www.LoadImageIntoTexture is also take so much time. I used www.texture before, but I found it failed to load some png from android device which just display a blue image.</p>