BJS: Can not create WebGPU Device and/or context [SOLVED]

Hi,

I’m having problems setting up webGPU locally in the project. What I’m doing is:

const engine = new BABYLON.WebGPUEngine(canvas);
await engine.initAsync();

And right over there I’m getting these errors:

I’m using Chrome Canary, with proper flags. Tested with playground and webGPU runs there properly. I’m quite lost now…

Ok right after I wrote this post, I noticed I forgot to uncomment the default engine, so what I actually had was:

this._engine = new Engine(canvas, true);
this._engine = new WebGPUEngine(canvas);

So like usually, human error :rofl: Case closed. Leaving this for future, as I might repeat this mistake again… :rofl:

1 Like