yield return www;
try {
var bundle = www.assetBundle;
} catch {
//surely if the bundle load fails, I can catch an exception here?
}
No, you can't. Bundle load fail = silent failure, unless you want to PARSE THE ERROR LOG!
Another reason to dump the WWW class and let us do it properly. Please, can give us the ability to load assets from byte streams, and avoid this WWW crock?
1 comment:
the www class could definitely use some lover. In the mean you can check www.error
Lucas
Post a Comment