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

**URL:** <https://forum.babylonjs.com/t/bjs-can-not-create-webgpu-device-and-or-context-solved/36439>\
**Category:** Questions\
**Created:** [December 10, 2022, 1:15pm UTC](https://forum.babylonjs.com/t/bjs-can-not-create-webgpu-device-and-or-context-solved/36439 "2022-12-10T13:15:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jozef\_Plata](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jozef_plata/32/30733_2.png) [@Jozef\_Plata](https://forum.babylonjs.com/u/Jozef_Plata)\
**Post date:** [December 10, 2022, 1:15pm UTC](https://forum.babylonjs.com/t/bjs-can-not-create-webgpu-device-and-or-context-solved/36439/1 "2022-12-10T13:15:53Z")

</div>

Hi,

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

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

```

And right over there I’m getting these errors:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/b/0/b0ec47516c2235d78309314f677a5082248add5b.png)

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

---

<div class="post-metadata">

**Author:** ![Jozef\_Plata](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jozef_plata/32/30733_2.png) [@Jozef\_Plata](https://forum.babylonjs.com/u/Jozef_Plata)\
**Post date:** [December 10, 2022, 1:24pm UTC](https://forum.babylonjs.com/t/bjs-can-not-create-webgpu-device-and-or-context-solved/36439/2 "2022-12-10T13:24:05Z")

</div>

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

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

```

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