Comments (6)
How do you monitor the files presence? You haven't cleared the files in Download Manager app?
from backgrounddownload.
Me too, the file is deleted when the download is complete.
If I don't use 'using', and don't explicitly call BackgroundDownload.Dispose (), it won't be deleted.
The file seems to be deleted during the BackgroundDownload.Dispose () process.
Of course, if I omit Dispose (), the completed download will not be deleted from BackgroundDownload.backgroundDownloads.
This is not what I want
Unity 2020.1.0 / Android 8.0
from backgrounddownload.
Gotch, thanks for info.
This should fix it:
#13
from backgrounddownload.
The Issue ist still here.
The workaround with renaming the file works quite well though, just append ".part" to the file path and before reaching the using block use File.Move to rename the file back without the ".part" in the end.
from backgrounddownload.
@rubit0 Could you clarify what you mean by the "issue is still there"? I'm not able to reproduce the issue anymore with the fix that @aurimasc mentioned :) If you are still reproducing, could you attach an example of your code? Just want to make sure that it doesn't differ with my implementation.
Thank you
from backgrounddownload.
@Sidass I mean that it is not fixed on Unity side and yes the workaround via renaming the file works fine so far.
from backgrounddownload.
Related Issues (20)
- Get the progress in iOS HOT 9
- Add configs by single method HOT 1
- Can't access iOS file HOT 16
- Invalid value for visibility 2 in Android. HOT 2
- Manifest isn't picked up in 2019.3 HOT 2
- download.status == BackgroundDownloadStatus.Failed HOT 3
- iOS continue download HOT 4
- [Feature] Download Speed progress
- a
- Feature Request: Equivalent package for uploads HOT 1
- Gradle issue while building for Android with 2021.2.x version HOT 3
- Gradle isue in 2020.3.16f1
- Need support for Background Download project.
- [iOS] The operation couldn't be completed. (NSURLErrorDomain error -999.) HOT 1
- Concurrent Downloads?
- Addressables fail to build in Editor when platform is set to Windows/standalone ('failed to produce updates.txt file')
- Large number of downloads problems
- Android - Status never switches to done, even if progress is 1 HOT 1
- Multiple downloads HOT 1
- Throw exception HOT 5
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 backgrounddownload.