# Missing imports for webgpu

**URL:** <https://forum.babylonjs.com/t/missing-imports-for-webgpu/27739>\
**Category:** Bugs\
**Tags:** webgpu\
**Created:** [February 17, 2022, 11:24am UTC](https://forum.babylonjs.com/t/missing-imports-for-webgpu/27739 "2022-02-17T11:24:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [February 17, 2022, 12:48pm UTC](https://forum.babylonjs.com/t/missing-imports-for-webgpu/27739/2 "2022-02-17T12:48:45Z")

</div>

Are you sure there’s no errors before this one?

`createBuffer` is a method of `GPUDevice`, so there should be an error that says that WebGPU could not be initialized/the device could not be created.

Are you creating the WebGPU engine with some code like:

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

```

?

---

_[View the full topic](https://forum.babylonjs.com/t/missing-imports-for-webgpu/27739)._
