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:

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