Comments (3)
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.
你好,我也遇到这种问题,在微信小游戏中,偶尔会出现资源下载到90%几然后就一直不会继续下载了,status也没成功也没失败,完成回调也没有调用,请问这个要如何解决?我使用GetDownloadStatus()获取了下载长度,发现下载长度一直没有改变。
from addressables-sample.
你好,我也遇到这种问题,在微信小游戏中,偶尔会出现资源下载到90%几然后就一直不会继续下载了,status也没成功也没失败,完成回调也没有调用,请问这个要如何解决?我使用GetDownloadStatus()获取了下载长度,发现下载长度一直没有改变。
当时我的解决办法是重新再走一遍下载的逻辑,已下载的内容会被缓存,只下载需要更新的部分,当下载进度长时间不变就可以结束下载线程重新开始下载,但是addressable没有结束下载的接口(最新版本我不确定,接近三年没摸过了),需要更改addressable源码以结束下载进程
from addressables-sample.
Related Issues (20)
- SpaceShooter DynamicInvoke error while playing
- Error - JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll HOT 1
- How do I get the scene name?
- The BuildProcessorData.json and CustomAssetPacksData.json not generated
- Are google play instant apps possible to be downloaded using the Play Asset Delivery example?
- WaitForCompletion() not working? HOT 1
- Removing a Specific Child Object in a Content Update Causes an Error. HOT 1
- Play Asset Delivery sample silently fails if bundle names conflict HOT 1
- Play Asset Delivery sample does not properly load from fast-follow Asset Pack HOT 1
- Addressables are not working on WebGL on new Unity versions HOT 1
- Request to PGS failed because all packs are unavailable HOT 1
- Custom asset packs are not generated HOT 1
- PAD sample does not build HOT 4
- error display before enter the game
- Error constantly reported when selecting assets configuration and cannot be modified HOT 1
- Addressables + PAD not working with google.play.core 1.8.1, google.play.assetdelivery 1.8.1 (api 2.0.0, Unity 2022) HOT 1
- Download On-demand assets gets failure at random HOT 1
- Address 'xxx' cannot contain '[]' error HOT 2
- Does Addressables support 8K videos?
- In IDE, I can use editorAsset through AssetReference, and there are no errors when loading scripts in IDE or Unity. However, during build, Unity prompts me that AssetReference does not include the definition of editorAsset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addressables-sample.