White screen after startup in chrome canary 96
den-netizen opened this issue · comments
Hello,
I want to try out the WebGPU support and therefore, cloned the master-branch, npm install, npm run start and opened localhost:8080 in Chrome Canary version 96.0.4660.4 (with chrome://flags/#enable-unsafe-webgpu enabled). But I only get a white screen and some errors when inspecting it:
- Failed to load resource: the server responded with a status of 404 (Not Found)
- logger.js:86 BJS - [17:39:28]: Can not create WebGPU Device and/or context.
Logger._ErrorEnabled @ logger.js:86 - logger.js:86 BJS - [17:39:28]: TypeError: Cannot read properties of undefined (reading 'slice')
Logger._ErrorEnabled @ logger.js:86 - uniformBuffer.js:47 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'trackUbosInFrame')
at new UniformBuffer (webpack:///./node_modules/@babylonjs/core/Materials/uniformBuffer.js?:47)
at Scene._createUbo (webpack:///./node_modules/@babylonjs/core/scene.js?:1432)
at new Scene (webpack:///./node_modules/@babylonjs/core/scene.js?:682)
at App.eval (webpack:///./src/app.ts?:43)
at Generator.next ()
at fulfilled (webpack:///./src/app.ts?:5)
The Ocean Demo playground example https://playground.babylonjs.com/#YX6IB8#27 does work though.
What am I doing wrong? Can you please help?
Thank you.