WebGL wasm error when making http request

I’m getting this error whenever I make a http request from Unity. I’m using the BestHTTP plugin but I’m not sure if that’s related.

Uncaught ReferenceError: Pointer_stringify is not defined
    at _XHR_Create (Build_152.framework.js.br:9:150043)
    at Build_152.wasm.br:0xf6b2d3
    at Build_152.wasm.br:0xf6616c
    at Build_152.wasm.br:0xf72c14
    at Build_152.wasm.br:0x303e5a0
    at invoke_vii (Build_152.framework.js.br:9:465430)
    at Build_152.wasm.br:0xf72958
    at Build_152.wasm.br:0x88c268
    at Build_152.wasm.br:0x1ebe1ff
    at Build_152.wasm.br:0x1cca41c
    at Build_152.wasm.br:0x1aa3f80
    at Build_152.wasm.br:0x935416
    at Build_152.wasm.br:0x963233
    at Build_152.wasm.br:0x1e0ee4f
    at Build_152.wasm.br:0x1306b9d
    at Build_152.wasm.br:0x1b0bc15
    at Build_152.wasm.br:0x2ee3c8
    at Build_152.wasm.br:0x303e630
    at invoke_viiii (Build_152.framework.js.br:9:466688)
    at Build_152.wasm.br:0x1c01570
    at Build_152.wasm.br:0x1b0fd37
    at Build_152.wasm.br:0x1b117bf
    at Build_152.wasm.br:0x1b1060a
    at Build_152.wasm.br:0x1b102c6
    at Build_152.wasm.br:0x1b0b095
    at Build_152.wasm.br:0x229fd05
    at Build_152.wasm.br:0x22dfded
    at Build_152.wasm.br:0x303e57f
    at invoke_iiii (Build_152.framework.js.br:9:465905)
    at Build_152.wasm.br:0x22def10
    at Build_152.wasm.br:0x15c6bb
    at Build_152.wasm.br:0x2f60f25
    at Build_152.wasm.br:0x2f10206
    at Build_152.wasm.br:0x2f1021b
    at Build_152.wasm.br:0x2c65d7d
    at Build_152.wasm.br:0x2e00cff
    at Build_152.wasm.br:0x2d6beff
    at Build_152.wasm.br:0x2d6bf74
    at Build_152.wasm.br:0x3010202
    at Build_152.wasm.br:0x303e5dc
    at Build_152.framework.js.br:9:24676
    at _JS_CallAsLongAsNoExceptionsSeen (Build_152.framework.js.br:9:24690)
    at Build_152.wasm.br:0x300bc0d
    at Build_152.wasm.br:0x303e5dc
    at browserIterationFunc (Build_152.framework.js.br:9:116801)
    at callUserCallback (Build_152.framework.js.br:9:99163)
    at Object.runIter (Build_152.framework.js.br:9:100530)
    at Browser_mainLoop_runner (Build_152.framework.js.br:9:116327)

This appears to be the function that is erroring, specficically the first line:

function _XHR_Create(method, url, user, passwd, withCredentials) {
            var _url = Pointer_stringify(url).replace(/\+/g, "%2B").replace(/%252[fF]/gi, "%2F");
            var _method = Pointer_stringify(method);
            if (wr.loglevel <= 1)
                console.log(wr.nextRequestId + " XHR_Create - withCredentials: " + withCredentials + " method: " + _method + " url: " + _url);
            var http = new XMLHttpRequest;
            if (user && passwd) {
                var u = Pointer_stringify(user);
                var p = Pointer_stringify(passwd);
                http.withCredentials = true;
                http.open(_method, _url, true, u, p)
            } else {
                http.withCredentials = withCredentials;
                http.open(_method, _url, true)
            }
            http.responseType = "arraybuffer";
            wr.requestInstances[wr.nextRequestId] = http;
            return wr.nextRequestId++
        }

Pointer_stringify is deprecated so you’ll probably need to update BestHTTP to a newer version, or patch it yourself, Unity - Manual: Replace deprecated browser interaction code