My project involves a large number of asset bundles on a remote server. Recently I discovered that several Asset Bundles have incorrect build targets, causing errors when I try to load them in a Windows standalone build.
How do you check the build target number of an Asset Bundle before trying to load it? Assuming you have a WWW link to the file. I don't see a property in the AssetBundle class that would tell me. Yet, the output_log that shows load errors says the File's build target as an integer, which maps to the BuildTarget enum in Unity Editor.
↧