Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

(Case 1124491) Chrome Tab crashes to "Aw, Snap" during Asset Bundle download

Discussion in 'Addressables' started by MNNoxMortem, Feb 6, 2019.

  1. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    358
    Starting the player and pausing the main thread shows that the Chrome Tab crashes with "Aw, Snap" during the Asset Bundle Download.

    Code (JavaScript):
    1. function ___syscall4(which, varargs) {
    2. SYSCALLS.varargs = varargs;
    3. try {
    4.   var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get(), count = SYSCALLS.get();
    5.   return FS.write(stream, HEAP8, buf, count);
    6. } catch (e) {
    7.   if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
    8.   return -e.errno;
    9. }
    10. }
    The memory usage shows 3.6GB while 4096MB as limit should be available.

    I will try to reduce the player size to be sure it does not happen because an out of memory exception, but if anyone has any other ideas how to find the cause of this and even better solve it I am open for all suggestions.
     

    Attached Files: