EnvmapProbe performance issue, vulkan crash, high vram usage, error spam in the console
Version / Commit
Not sure which update caused that but it's quite recent (Mid august 2026 I would say)
Describe the bug
EDIT: Everyframe mode doesn't seems to be the direct cause, the problem is deeper and even the OnEnabled mode is broken, Everyframe mode just make the issue worse.
I'm experiencing frequent Vulkan crashes, high vram usage, and performance issue with envmap probe set to everyframe mode, so yeah I know everyframe probe are consuming, but since a couple of S&box update there is something seriously wrong with them, before it was consuming in terms of performance but recently it got really worse something like 250fps without a probe that refresh everyframe to only 70fps (for like 256x resolution) which wasn't clearly that much of an issue before, and I noticed on top of that really high VRAM usage, jump from like 6GB VRAM to 12 or 18GB VRAM usage on my RTX 3090 + Vulkan crashes saying something like "GPU Crashed..." and creating a dump in sbox/aftermath_dumps folder.
To Reproduce
- Place a probe that refresh in realtime + everyframe mode
- Make sure to put it to 1024x1024 resolution (bcs it seems to make it worse and make the crash happen earlier)
- Click play
- Wait for a Vulkan crash (can sometimes take from 30 sec to 5 minutes to trigger, this is super random, and that's why it's a bit hard to get sometimes)
Expected behavior
EnvmapProbe should work properly without issue even in Everyframe mode
Media/Files
No response
Additional context
I also have a couple of dumps related to the crashes, everytime I get this:
As you can notice I've changed drivers to make sure this wasn't an issue from Nvidia, despite me trying a couple of drivers, I get the same hard GPU crash everytime.
Also here is the Vulkan/GPU crash message I'm receiving on S&box:
Source: Facepunch/sbox-public