今天项目换了台新mini打iOS版本的ab包,真机上出现资源读取失败并有如下报错 The file can not be loaded because it was created for another build target that is not compatible with this platform. Please make sure to build AssetBundles
unity5.4版本打包AssetBundle与加载(避免材质丢失网格丢失) 打包AssetBundle 有各种依赖关系要处理,针对不同的项目具体的打包策略也不同,这里假定是单个不重用的资源打包 完全没有任何依赖,做一个最基础的AssetBundle打包和加载的记录。 打包的代码 using UnityEngine; using Unit