How to make texture readable for assetbundle
I want read pixels from texture which set to read/write enable. But I got non-readable exception. My texture is the skin of character which package to assetbundle. I knew make texture readable will increase memory.
I have try such solutions:
http://answers.unity3d.com/questions/639234/instantiating-texture2d-object-get-non-readable-er.html
/Unity/Editor/Data/Documentation/html/en/ScriptReference/BuildPipeline.BuildAssetBundle.html
But failed, is there any solution? Thank you very much for your suggestion.
Maktech(http://answers.unity3d.com/questions/1148901/saving-textures-as-readable-in-assetbundles.html) have encounter similar problem.
Answer by yuwenshu · Jun 16, 2016 at 06:19 AM
hahaha, solution 1 workable!!!
I clean cache in C:\Users\peter\AppData\LocalLow\Unity\WebPlayer\Cache, read pixels succesfully!!!!