Skip to content

White screen after startup in chrome canary 96 #5

@den-netizen

Description

@den-netizen

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:

  1. Failed to load resource: the server responded with a status of 404 (Not Found)
  2. logger.js:86 BJS - [17:39:28]: Can not create WebGPU Device and/or context.
    Logger._ErrorEnabled @ logger.js:86
  3. logger.js:86 BJS - [17:39:28]: TypeError: Cannot read properties of undefined (reading 'slice')
    Logger._ErrorEnabled @ logger.js:86
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions