BabylonJS/Spector.js

TypeError: i is not iterable in spector.bundle.js

Closed this issue · 6 comments

While debugging the canvas using SpectorJS, a TypeError was encountered. The error message “i is not iterable” suggests that there was an attempt to iterate over a value that is not iterable. I'm not sure but it seems This error occurred in the spector.js file.

I also tried to debug here
I got the same error

error:

TypeError: i is not iterable
    at $e.getProgramData (spector.bundle.js:1:552108)
    at Pe.readFromContext (spector.bundle.js:1:553662)
    at Pe.readFromContextNoSideEffects (spector.bundle.js:1:524320)
    at Pe.onConsumeCommand (spector.bundle.js:1:522203)
    at ke.captureState (spector.bundle.js:1:567736)
    at qe.onCommand (spector.bundle.js:1:588557)
    at WebGL2RenderingContext.drawElements (spector.bundle.js:1:519529)
    at Engine.draw (babylon.new.js:9022:26)
    at Mesh._draw (babylon.new.js:21147:36)
    at Mesh._processRendering (babylon.new.js:21275:30) []

Which browser is it happening in ?

I can not repro locally :-(

Which browser is it happening in ?

I can not repro locally :-(

I didn't try any other browser other than Brave

In MS Edge, things worked perfectly.

This would mean that somehow this fails:
image

but only on brave which is really strange :-(

mbkv commented

brave/brave-browser#37044

can confirm it's a bug with brave browser. guess gotta use firefox for development

Thanks for the confirmation