在 Unity 4.5.1f3中测试发现如下问题

两个不同文件下相同名字的资源打包成AssetBundle以后加载失败,提示错误  xxxxx can't be loaded because another asset bundle with the same files are already loaded

测试时两个资源分别是: dealers/dealer1.png和dealers/voice/Dealer1.prefab,打包以后生成的assetbundle是dealers/dealer1.assetbundle和dealers/voice/Dealer1.assetbundle

将后一个资源名字修改以后,问题解决,google发现官方论坛如下

http://forum.unity3d.com/threads/asset-bundle-cant-be-the-same-name.190275/

据说Unity5修复了该问题

相关文章:

  • 2021-10-08
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2021-10-02
猜你喜欢
  • 2021-11-08
  • 2021-08-13
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案