"Cannot read property 'addEventListener' of undefined" error

I just started getting this error inside https://sandbox.babylonjs.com/ this week, even on GLB’s that were working just fine for months (and work in gITF viewer).
Cannot read property 'addEventListener' of undefined
Anybody out there in Babylon know what’s causing it?


adding @RaananW or @bghgary to check :slight_smile:

well actually I’m on it :slight_smile: I’ll keep you posted

I cannot repro :frowning:
@jlzachary Can you share a glb which is failing?

I was able to repro. Then I cleared the cache and it went away. Why are we having caching issues? :confused:

1 Like

well ask edge or chromium :smiley:

I would if I could though but unfortunately I can not :frowning: . Sounds like bghgary was able to repro though.

yep but it is gone now. can you make sure you are on the latest version?

I have same issue. How do you clear the cache actually?

I think CTRL+F5 will do it in Chrome. Else CTRL+SHIFT+DEL

All is good again. Thanks!

1 Like