- Home /
The AssetBundle can't be loaded because it was not built with the right version or build target.
Hello.
I have a project with an AssetBundle (in unity5) for iOS. Now when I switch platform to iOS in Unity 5 (the project was previously updated from unity4) I get the following error:
The AssetBundle 'some .unity3d file' can't be loaded because it was not built with the right version or buildtarget.UnityEngine.WWW:get_assetBundle()c__Iterator8:MoveNext() (at Assets/Scripts/Core/GameplayManager.cs:142)
What could be the problem? The platform is set to iOS and the files in this assettbundle were specifically built for the iOS.
Could you please post the code for your Assetbundle creation?
$$anonymous$$ajor changes were made to the asset bundle pipeline. So, if you haven't remade the asset bundles since you upgraded to Unity 5, that might be your issue. If not, seeing the code would be useful.
Your answer
Follow this Question
Related Questions
Unity5 upgrade invalid serialized file version 0 Answers
How to set static size all game object? 0 Answers
How to load a single GameObject from an AssetBundle without a specific name ? 0 Answers
Loading GameObject with the Script Attached from the AssetBundle. 0 Answers
AssetBundles not downloading problem 1 Answer