4.0.0-beta.1 (es6) bug with rgbdDecode.fragment.fx

Hello,

I’m using es6 modules and now I have this error when launching our application

GET http://app.oo/src/Shaders/rgbdDecode.fragment.fx 404 (Not Found)

Uncaught LoadFileError: Error status: 404 Not Found - Unable to load src/Shaders/rgbdDecode.fragment.fx tools.js:72
at new t (http://app.oo/js/vendor.js?ver=0.8.1.7:1:101476)
at XMLHttpRequest.p (http://app.oo/js/vendor.js?ver=0.8.1.7:1:108387)

The error popup at my scene.render() function.
I don’t really now how to debug this.

Do you have some idea where it comes from ?

ohhhhhh good catch I ll fix it ASAP.

1 Like

Fix is in master and should be in a beta 2 really soon. As a local workaround, you can import “@babylonjs/core/Shaders/rgbdDecode.fragment” this should have the same effect than the fix

Thanks :slight_smile: !
That’s already super fast.

beta 2 is out :slight_smile:

1 Like