Server throwing errors

Hello,

We’re using babylonjs in a normal browser and a reactjs APP.
In the browser it’s never making any problems but in the APP we’re getting errors like these:

  1. Uncaught TypeError: Cannot read property ‘byteLength’ of null
    at babylon.gltf.js:1
    at babylon.max.js:151809
    at XMLHttpRequest.onReadyStateChange

  2. GET net::ERR_HTTP2_PROTOCOL_ERROR

What could cause these problems?
The server rejects only in the APP GET requests and then stop responding.

Best Regards,

Léon

When you say app, do you mean babylon native? or is it a web-based app?

Babylon react native

pinging @bghgary

1 Like

This may be related to our XMLHttpRequest implementation. Is there a way to set up a repro for this?

1 Like

cc @DarraghBurke

1 Like

@bghgary What do you mean with a repro of this?

@Leon_Servais could you share a minimal app we could run locally to repro the issue ? this is what @bghgary meant.

This would help us quickly troubleshoot the root cause of the issue.

2 Likes