Unity3D AssetBundle can't be loaded because it was not built with the right version or build target.
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 asset bundles using the build target platform that it is used by.
File's Build target is: 6
Failed to read file '/data/data/com.WWForever.AssetBundleTest/files/UnityCache/Shared/90185303d96cdda5921761e85bcce3353eea1d67/CAB-dfc1aae9a3e73624db7e11016b980aab' because it is corrupted.
The asset bundle 'http://xxx/PatchFile/CH_Wizard.unity3d' can't be loaded because it was not built with the right version or build target.
에셋번들 패치 시스템을 에디터에서 테스트는 잘되고 안드로이드에 적용 중 위와같은 오류가 발생했습니다.
유니티3D가 지원하는 빌드타겟입니다.
Please make sure to build asset bundles using the build target platform that it is used by.
File's Build target is: 6
Failed to read file '/data/data/com.WWForever.AssetBundleTest/files/UnityCache/Shared/90185303d96cdda5921761e85bcce3353eea1d67/CAB-dfc1aae9a3e73624db7e11016b980aab' because it is corrupted.
The asset bundle 'http://xxx/PatchFile/CH_Wizard.unity3d' can't be loaded because it was not built with the right version or build target.
에셋번들 패치 시스템을 에디터에서 테스트는 잘되고 안드로이드에 적용 중 위와같은 오류가 발생했습니다.
BuildPipeline.BuildAssetBundle(Selection.activeObject, selection, path, buildOption);이렇게 했었는데
BuildPipeline.BuildAssetBundle(Selection.activeObject, selection, path, buildOption, BuildTarget.Android);이런식으로 원하는 빌드타겟을 추가해주면 됩니다.
유니티3D가 지원하는 빌드타겟입니다.
댓글
댓글 쓰기