5.2 WWW and Caching.ready seem not to work correctly anymore

Hi guys.

I’ve updated my project to 5.2 and now my project isn’t downloading my assetbundles on iOS anymore (though it works in the editor fine).

I’m downloading the assetbundles with the following code:

        var aLocalAssetWWW = new WWW(StreamingAssetPath + anAssetName);
    
        //Wait for the WWW to be initialized
        Debug.Log("loading from disk");
        yield return aLocalAssetWWW;
        //yield return StartCoroutine(new WWWRequest(aLocalAssetWWW));

        Debug.Log("local loading done?");
        while (!aLocalAssetWWW.isDone && string.IsNullOrEmpty(aLocalAssetWWW.error))
        {
            Debug.Log("local loading done? no");
            Debug.Log("has an error: " + aLocalAssetWWW.error + " url: " + aLocalAssetWWW.url);
            yield return aLocalAssetWWW;
            //yield return StartCoroutine(new WWWRequest(aLocalAssetWWW));
        }

        Debug.Log("caching ready? " + Caching.ready);
        while (!Caching.ready)
            yield return null;

I’ve found out that the yield return aLocalAssetWWW is hanging and don’t get any further on iOS. For that I found a workaround here in the forum. Sadly the next problem occurs with the Caching.ready which is always returning false now.

This code works fine on 5.1.2 (not working on 5.1.3 anymore), I’ve tested that there now, so something has changed there that this code is not working. Has someone else this problem?

Any help is appreciated!

So, I can confirm that there is definitely a problem on iOS with the WWW class.

Created a test project and it doesn’t finish the WWW if it is targeting a non existing file.

Case: 727455

I have same issue with Caching.ready always false on Android on 5.2.2f1.