{"id":2739,"date":"2020-09-30T19:37:09","date_gmt":"2020-09-30T11:37:09","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=2739"},"modified":"2020-09-30T20:09:25","modified_gmt":"2020-09-30T12:09:25","slug":"unityassetbundle%e6%89%93%e5%8c%85mp4%ef%bc%8c%e5%9c%a8android%e5%b9%b3%e5%8f%b0%e4%b8%8a%e6%97%a0%e6%b3%95%e6%ad%a3%e5%b8%b8%e6%92%ad%e6%94%be%e7%9a%84bug","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=2739","title":{"rendered":"[Unity]Assetbundle\u6253\u5305MP4\uff0c\u5728Android\u5e73\u53f0\u4e0a\u65e0\u6cd5\u6b63\u5e38\u64ad\u653e\u7684Bug"},"content":{"rendered":"\n<p>\u9519\u8bef\u663e\u793a\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large\"><p>AndroidVideoMedia::OpenExtractor could not translate archive:\/XXX to local file. Make sure file exists, is on disk (not in memory) and not compressed.<\/p><\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>\u539f\u6765\u6240\u6709AB\u5305\u7684\u6253\u5305\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<p>BuildPipeline.BuildAssetBundles(&#8230;,  BuildAssetBundleOptions.ChunkBasedCompression);<\/p>\n\n\n\n<p>\u4fee\u6539\u65b9\u5f0f\u4e3a\u6253\u4e24\u6b21\u5305\uff0c\u542b\u6709\u89c6\u9891\u6587\u4ef6\u7684AB\u5305\u91c7\u7528<br> BuildPipeline.BuildAssetBundles(&#8230;,  BuildAssetBundleOptions. UncompressedAssetBundle ); <\/p>\n\n\n\n<p>\u672a\u542b\u6709\u89c6\u9891\u6587\u4ef6\u7684AB\u5305\u4f7f\u7528<br>BuildPipeline.BuildAssetBundles(&#8230;,  BuildAssetBundleOptions.ChunkBasedCompression); <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9519\u8bef\u663e\u793a\uff1a AndroidVideoMedia::OpenExtractor could not transl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[18],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2739"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2739"}],"version-history":[{"count":5,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2739\/revisions"}],"predecessor-version":[{"id":2744,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2739\/revisions\/2744"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}