Offscreen canvas demo not working in Chrome?

Just noticed this and I checked the documentation demo as well: Babylon.js - Worker mode

The youtube video shows the worker thread rendering but the demo in my chrome (Version 92.0.4515.131 (Official Build) (64-bit)) isn’t. Console throws ReferenceError: window is not defined

ffox is throwing Unfortunately your browser does not support Offscreen canvas API, which I suppose is fine…

Anyone else experiencing same issue ?

A fix was just submitted and merged, it will be available in the next preview version (and in the next nightly)

1 Like

ok, thanks ! :slight_smile:

edit: I hope it resolves why my worker thread is causing fps drop…