前天Build Assetbundle的时候出错了,导致打包失败,具体日志内容如下:
An asset is marked as dont save, but is included in the build:
Asset: 'Assets/Resources/Characters/NPC/NPC_1010.prefab'
Included from scene: 'Assets/Scenes/InitScene.unity'
UnityEditor.BuildPipeline:BuildAssetBundle(Object, Object[], String, BuildAssetBundleOptions, BuildTarget)
Building - Failed to write file: CAB-NPC_1010.prefab
UnityEditor.BuildPipeline:BuildAssetBundle(Object, Object[], String, BuildAssetBundleOptions, BuildTarget)
问了技术支持后说prefab没保存好,那就应该是美术同学没有保存好就提交SVN导致,我叫美术同学重新弄一下保存好再提交就好了。