LoadFromCacheOrDownload causes Chrome crash

Using WWW.LoadFromCacheOrDownload in Unity 5.2.1p3 causes a memory crash in Chrome and Canary. The memory behavior is different:

  • Chrome spawns at least 2 processes that seem to bloat memory and eventually crash the browser
  • Canary has a single process that continually grows until the OS kills it (one test blew up to 18GB of the 24GB available on the test machine!)

Unfortunately, this forces us to NOT use the built-in Unity cache call.

I assume it is related to this issue in Chrome since the behavior is similar:

https://code.google.com/p/chromium/issues/detail?id=533648

It’s possible but we haven’t received confirmation that they use LoadFromCacheOrDownload.

We are investigating the issue on our side, however, if you have a repro case it would be good if you could submit a bug.

Marco, I will try to get a repro case submitted when I have a moment. Thanks.

1 Like