Alternative to WWW Loading

Hi Everyone.

Im currently working on a project that requires loading Images, Videos and Audioclips at runtime from a folder off a server. The Content is constantly changing so there is no way to store it in the build of the project, so from this, i have resorted to loading the content through WWW.

WWW load = new WWW("file:///" + path);
            yield return load;

The problem is that as the content gets larger, the longer it takes to load and it has gotten to a point where is very noticeable. I can settle for this as an option if there is no alternative, but the question i have is,

Is there a faster alternative?

Thanks everyone.

p.s. Assets welcome, at any cost.

Have you tested whether loading the data with a regular browser is actually faster? WWW does nothing more than a HTTP request and downloading the HTTP response. It should pretty much take as long as the HTTP request itself, so test downloading with any browser for comparison.

If WWW is just as fast, which is what I’d expect, then you have to reduce your filesize. Large files take long to download, you can’t go around this fact.

If WWW turns out to actually be slower, what would really surprise me, try the UnityWebRequest class instead. If WWW really adds additional time for the HTTP download, maybe that one doesn’t.

Use Asset Bundle for this, your game size will not too much high and you can easily download it. at runtime