Skip to content

Crash in WebGPU: Error: no matching constructor for vec4 #7

@andreasrosdal

Description

@andreasrosdal

I still get a crash in WebGPU, even with the fix in #6.

To reproduce, start a new game, then type /observe (+Enter) into the game console after it has started.
https://www.fciv.net/?webgpu=true

Here is the commit which includes the fix in #6:
https://github.com/fciv-net/fciv-net/commit/192930a84e837ece0a208dcc975c3b3b96694b8b

Screenshot:
image

The error is not present in the normal Three.js build, and the error is not present when using three-webgpu-renderer with the WebGL backend in Firefix.

Operating system: Windows 11
Browser: Google Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions