Summary
Wasm Shipping builds that include Shader World content, opened in Safari 27.0.1 on macOS 27, hang the GPU and take down the whole Mac: two kernel panics and two hard hangs over 26–27 Nov. The same builds run fine in Chrome on the same machine, and the plain Third Person template build runs fine in Safari.
I’ve reported the system crash to Apple as well, since a web page shouldn’t be able to panic the OS. Posting here so others testing Web builds on Mac know, and in case the WebGPU backend can avoid triggering it.
Setup:
- Mac mini M6 (Mac18,5), 32 GB, macOS 27.0.1 (26A434), Safari 27.0.1 (22625.1.29.11.28)
- UE 5.9.0-preview-2 source build (Mac Launcher build is missing Wasm files), emsdk 6.0.10
- Wasm Shipping, mobile deferred (r.Mobile.ShadingPath=1), WebGPU, served locally
Results:
- Third Person template (222 MB): Safari
runs, 74.9 fps - Template + Shader World (5.8 plugin ported to 5.9), Map_Reference: Chrome
runs / Safari
GPU hang → kernel panic (3 times, 26 Nov) - testLand level (Ultra Dynamic Sky + Shader World + Character Interaction, 441 MB): Chrome
runs / Safari
GPU hang → whole system freeze (27 Nov)
I’m not testing in Safari again because each test takes down the machine.
What Type of Bug are you experiencing?
Platform Other
Steps to Reproduce
- On a Mac with UE 5.9 Preview 2 (source build), package a Wasm Shipping build of a project that uses Shader World terrain (e.g. Shader World’s own Map_Reference level).
- Serve the build locally and open it in Chrome – it runs normally.
- Open the same URL in Safari 27.0.1 on macOS 27.0.1.
Expected Result
The page runs as it does in Chrome, or at worst the tab / WebKit GPU process fails and Safari shows an error.
Observed Result
Within about a minute the GPU stops making progress (macOS gpuEvent reports show repeated GPU restarts with “progress timeout”, 6 in 4 minutes before the first panic). Safari’s WebKit GPU process dies, WindowServer stops responding and the whole Mac freezes. Twice it ended in a kernel panic, once I had to hold the power button, and once the shutdown stalled.
Panic line:
panic: userspace watchdog timeout: no successful checkins from WindowServer in 120 seconds
Memory was not the issue (compressor 2%, swap OK); Safari’s web page process was at 3.7–6.3 GB.
Possibly related: WebKit also fails to compile some generated WGSL, e.g. “call to ‘select’ is ambiguous” when select() takes the result of bool | bool (WebKit’s WGSL→Metal step turns it into int). Chrome/Dawn accepts the same WGSL.
Affects Versions
5.9
Platform(s)
Mac