![]() ![]() I use this method:įirst, i add my folder "assetbundles" who contain my. I have an asset bundle file created with iOS device, and i want use it in my iOS game but i can't load it. Hi everyone, i use this old thread because i got the same problem than you but no solutions works for me. I'll report my results here when I'm finished. I'm going to try and rebuild the prefab now using my script after I change the Unity engine to use the iOS build. ![]() (Filename: /Applications/buildAgent/work/6bc5f79e0a4296d6/Projects/./Runtime/Misc/AssetBundleUtility.cpp Line: 58) The asset bundle 'file:///var/mobile/Applications/2A782E51-DD70-4F3B-970A-C030C84258E4/test1.app/Data/iphone-prefab-box.assetbundle' can't be loaded because it was not built with the right version or build target. (Filename: /Applications/buildAgent/work/6bc5f79e0a4296d6/Projects/./Runtime/Serialize/SerializedFile.cpp Line: 210) Please make sure to build asset bundles using the build target platform that it is used by. The file can not be loaded because it was created for another build target that is not compatible with this platform. I simply copied my prefab into the Data folder using the Terminal and that fixed everything up.Ĭp my-prefab.assetbundle /Users//Documents/projects/unity/MPLib/iOS/Data ![]() Well I've gotten past the "Failed to load asset bundle" error now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |