I would like to build asset bundles for each localized version of my game. I will include the fonts and audio files as well as all the localized strings in each bundle. I have managed to figure out how to bundle them and load them at runtime but it takes time to decompress them.
According to [this link here][1], I should be able to build uncompressed asset bundles and load them using [AssetBundle.CreateFromFile][2] but it is not working and the editor returns an error (below) when it attempts to build the editor script.
The Error in question:
error CS0117: `UnityEditor.BuildAssetBundleOptions' does not contain a definition for `UncompressedAssetBundle'
So basically, it appears Unity dropped support for "UncompressedAssetBundle" somewhere along the way but left it up on their Script Reference.
Also, I am using the latest version of Unity 3.5.
Any help would be greatly appreciated.
[1]: http://docs.unity3d.com/Documentation/ScriptReference/BuildAssetBundleOptions.UncompressedAssetBundle.html
[2]: http://docs.unity3d.com/Documentation/ScriptReference/AssetBundle.CreateFromFile.html
↧