Coder Social home page Coder Social logo

Comments (3)

kirstenpilla avatar kirstenpilla commented on August 28, 2024

Hi @Friend-0x41 unfortunately downloading pausing is not supported:

We use UnityWebRequest that does not support pausing. It is possible to create a completely new AssetBundleProvider implementation that is based on HttpClient and enable this. This would be fairly involved and in order to support streaming loads you would need to implement a custom memory stream that wrapped the one provided by HttpClient (this is due to the requirement that Seek is available in the stream).

from addressables-sample.

yiwei151 avatar yiwei151 commented on August 28, 2024

你好,我也遇到这种问题,在微信小游戏中,偶尔会出现资源下载到90%几然后就一直不会继续下载了,status也没成功也没失败,完成回调也没有调用,请问这个要如何解决?我使用GetDownloadStatus()获取了下载长度,发现下载长度一直没有改变。

from addressables-sample.

Friend-0x41 avatar Friend-0x41 commented on August 28, 2024

你好,我也遇到这种问题,在微信小游戏中,偶尔会出现资源下载到90%几然后就一直不会继续下载了,status也没成功也没失败,完成回调也没有调用,请问这个要如何解决?我使用GetDownloadStatus()获取了下载长度,发现下载长度一直没有改变。

当时我的解决办法是重新再走一遍下载的逻辑,已下载的内容会被缓存,只下载需要更新的部分,当下载进度长时间不变就可以结束下载线程重新开始下载,但是addressable没有结束下载的接口(最新版本我不确定,接近三年没摸过了),需要更改addressable源码以结束下载进程

from addressables-sample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.