gtreshchev / runtimefilesdownloader Goto Github PK
View Code? Open in Web Editor NEWRuntime Files Downloader plugin for Unreal Engine. Downloading files over HTTP / HTTPS at runtime.
License: MIT License
Runtime Files Downloader plugin for Unreal Engine. Downloading files over HTTP / HTTPS at runtime.
License: MIT License
Hello,
All my application broke because the default value for the timeout is 0 when installing newer version of the plugin.
I suggest to add at least a LOG or a callback mechanism for timeout to have some informations also maybe it's possible to have a default value which would work out of the box when adding/updating the node and not break every application out there !
Thanks for the plugin !
So I was downloading a file and even though the EDownloadToStorageResult is 'Success' -
As seen in the images, the FilesExists node return false.
This has an impact on unarchiving later using RuntimeArchiver's OpenArchiveFromStorage method. It seems that it is found in the directory after 2 secs. Shouldn't it exist as soon as the EDownloadToStorageResult is a Success?
Can I also get the discord server link as the link in the ReadMe is invalid.
It is much more convenient to use static delegates in a C++ project instead of dynamic ones.
FileToStorageDownloader.h(86): [C2061] syntax error: identifier 'EDownloadToMemoryResult'
miss #include "FileToMemoryDownloader.h"?
LogRuntimeFilesDownloader: Downloaded 49 bytes of file chunk from https://internal-api-drive-stream.feishu.cn/space/api/box/stream/download/all/YYF6bdPfEobze3xwXIWcHHqJnVf/?allow_redirect=1. Range: {0; 17}, Overall: 18, Progress: 2.722222
LogRuntimeFilesDownloader: Error: Failed to download file chunk from https://internal-api-drive-stream.feishu.cn/space/api/box/stream/download/all/YYF6bdPfEobze3xwXIWcHHqJnVf/?allow_redirect=1: content length (49) does not match the expected length (18)
LogRuntimeFilesDownloader: Error: Failed to download file chunk from https://internal-api-drive-stream.feishu.cn/space/api/box/stream/download/all/YYF6bdPfEobze3xwXIWcHHqJnVf/?allow_redirect=1: EDownloadToMemoryResult::DownloadFailed
LogRuntimeFilesDownloader: Error: Failed to download file by chunk from https://internal-api-drive-stream.feishu.cn/space/api/box/stream/download/all/YYF6bdPfEobze3xwXIWcHHqJnVf/?allow_redirect=1
Hi, I receive this error when Build my project in 4.26.1
[1/4] Module.RuntimeFilesDownloader.cpp X:/MastersUniverse/Plugins/RuntimeFilesDownloader/Source/RuntimeFilesDownloader/Private/RuntimeFilesDownloaderLibrary.cpp(33): error C2440: 'inicializando': não é possível converter de 'TSharedRef<IHttpRequest,ESPMode::ThreadSafe>' para 'TSharedRef<IHttpRequest,ESPMode::NotThreadSafe>' X:/MastersUniverse/Plugins/RuntimeFilesDownloader/Source/RuntimeFilesDownloader/Private/RuntimeFilesDownloaderLibrary.cpp(33): note: No builder was able to receive the source type, or builder overhead resolution was ambiguous [2/4] Module.RuntimeFilesDownloader.gen.cpp
When trying to build for the Linux Platform, I get the error:
Missing precompiled manifest for 'RuntimeFilesDownloader'
It looks like the plugin is missing compiled binaries for Linux?
UE 5.4, plugin installed from Marketplace
RuntimeChunkDownloader.h miss include #include "Misc/EngineVersionComparison.h"
#include "Editor.h"
build error when package
I want to know how to download there is no mime content type files
It would be really helpful if instead of a single release that always has the latest version, each release was maintained and tagged with a unique version.
I am automatically pulling from the release in a CI/CD pipeline and because I was using an older version on my development machine I wasn't aware that a breaking change had been made in the latest version.
I was using the Plugin in 5.1 previously and I had no problems with the plugin at all.
Now after I switched to 5.3 I am getting the crash.
Screenshot from the Blueprint:
Both URL and Save Path are valid
The function works sometimes but it crashes most of the time.
The progress is stuck at 0 and I am getting this spam in the log for awhile:
LogRuntimeFilesDownloader: Downloaded 822663467 bytes of file chunk from https://(The link I am downloading from) by payload. Overall: 0, Progress: 0.000000
after the spam I get those errors before the crash happens:
[2023.11.16-19.16.27:913][411]LogRuntimeFilesDownloader: Warning: FRuntimeChunkDownloader destroyed
[2023.11.16-19.16.40:361][823]LogRuntimeFilesDownloader: Warning: Failed to download file from https:/(The link I am downloading from) by payload: downloader has been destroyed
[2023.11.16-19.16.40:361][823]LogRuntimeFilesDownloader: Warning: Failed to download file chunk from https://(The link I am downloading from): downloader has been destroyed
[2023.11.16-19.16.40:361][823]LogOutputDevice: Warning:
Script Stack (0 frames) :
[2023.11.16-19.16.40:370][823]LogWindows: Error: appError called: Assertion failed: !IsComplete() [File:F:\UE_5.3.2\UnrealEngine-release\Engine\Source\Runtime\Core\Public\Async\Future.h] [Line: 191]
Thoughts about adding support to read to memory rather than to disk for small files? This would prevent users from having to then load the file (which I have a free plugin for)
I could put together a pull request? I'd rather enhance your free open source plugin than make a new one 😅
Скачиваю файл с своего веб сервера. Content legth возращает 0
I have such a scene:
there aye multi task for download file,when download completed, I will do some processing,after that i want to delete the file
I tried to download .pak(unreal pak) file and store it to user's storage by using DownloadFileToStorage
function.
But most of the time when it downloaded ~40-80%, the download failed. And I got the output log below.
LogHttp: Warning: 000001BCC83C7900: request failed, libcurl error: 18 (Transferred a partial file)
LogHttp: Warning: 000001BCC83C7900: libcurl info message cache 0 (Found bundle for host aenalia-ipfs.infura-ipfs.io: 0x1bc30fd2b60 [can pipeline])
LogHttp: Warning: 000001BCC83C7900: libcurl info message cache 1 (Re-using existing connection! (#14) with host aenalia-ipfs.infura-ipfs.io)
LogHttp: Warning: 000001BCC83C7900: libcurl info message cache 2 (Connected to aenalia-ipfs.infura-ipfs.io (52.2.229.63) port 443 (#14))
LogHttp: Warning: 000001BCC83C7900: libcurl info message cache 3 (TLSv1.2 (IN), TLS alert, Client hello (1):)
LogHttp: Warning: 000001BCC83C7900: libcurl info message cache 4 (transfer closed with 13015825 bytes remaining to read)
LogHttp: Warning: 000001BCC83C7900: libcurl info message cache 5 (Closing connection 14)
LogHttp: Warning: 000001BCC83C7900: libcurl info message cache 6 (TLSv1.2 (OUT), TLS alert, Client hello (1):)
LogRuntimeFilesDownloader: Error: An error occurred while downloading the file to storage
LogRuntimeFilesDownloader: Error: Download failed
btw I host file on IPFS, if you want to test, you could use this url
DownloadFileToStorage
normalyso I'm not sure if there are something to do with the plugin, or it's just becasue the IPFS itself 🤔
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.