Mesh invalidated excessively during buildWSGeometry
zidra.loden
Posts: 115
DS 4.24.0.3 failed to even attempt to render my scene and this is the error in the log [: Mesh invalidated excessively during buildWSGeometry]. DS 2025 also failed to render the same scene but I haven't checked that log yet. All I could find online was a reference to this bug being fixed in DS 4.11. Any ideas?
Post edited by Richard Haseltine on

Comments
Yes, get back to 4.23.
Rolling back to 4.23 didn't fix it. Any other suggestions?
So, does anyone know what this message means? I have a scene that's refusing to render in Studio 6, and I don't have any idea why. This is the only rendertime error in the log, and then it just stops.
The messages above that are ... odd. It implies that it stopped even trying to render before it did anything.
2026-07-15 21:53:41.850 Iray [INFO] - IRAY:RENDER :: 1.44 IRAY rend info : CUDA device 0 (NVIDIA GeForce RTX 5080): JIT-linking kernel in 370.203 ms
2026-07-15 21:53:41.986 Iray [INFO] - IRAY:RENDER :: 1.44 IRAY rend info : CUDA device 0 (NVIDIA GeForce RTX 5080): Initializing volume acceleration structures took 0.128 s
2026-07-15 21:53:41.992 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(418): Iray [ERROR] - IRAY:RENDER :: 1.44 IRAY rend error: CUDA device 0 (NVIDIA GeForce RTX 5080): No memory for rendering state available.
2026-07-15 21:53:41.994 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(418): Iray [ERROR] - IRAY:RENDER :: 1.44 IRAY rend error: Lost master device.
2026-07-15 21:53:41.994 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(418): Iray [WARNING] - IRAY:RENDER :: 1.44 IRAY rend warn : CUDA device 0 (NVIDIA GeForce RTX 5080) ran out of memory and is temporarily unavailable for rendering.
2026-07-15 21:53:42.337 Iray [INFO] - IRAY:RENDER :: 1.44 IRAY rend info : Freeing temporary rendering resources
2026-07-15 21:53:42.340 [ERROR] Iray :: Internal rendering error.
2026-07-15 21:53:42.401 [INFO] :: Saved image: C:\Users\username\AppData\Roaming\DAZ 3D\Studio6 Public Build\temp\render\r.png
2026-07-15 21:53:42.410 [INFO] :: Finished rendering.
2026-07-15 21:53:42.862 [INFO] :: Total Rendering Time: 1 minutes 3.7 seconds
If the issue was that the video card didn't have any memory left, why didn't it throw to CPU? It's set to do that in hardware.
Other weird thing: that image started to render the first time, but it turned out that I hadn't turned Dome and Scene on in Environment. I did that -- nothing else -- and the scene failed without anything more than what you see above.
Yes, I think that's right... your 5080 ran out of VRAM ~ So you had Allow CPU Fallback checked in hardware tab ?
Suggest you install GPU-Z to monitor VRAM usage and give it more test... If there were still enough VRAM availabe but DS failed to render, that might be bugs. From quite a few posts that I've read, latest DS 6.x still doesn't work really well in terms of rendering ~~
Allow CPU Fallback was checked, yes. And I've had scenes big enough to invoke it before, and it worked without any issue.
It seems to be one specific character that caused the issue. I deleted him from the scene -- he was a late addition, and not really needed -- and it worked fine.I even added a lot of plants to the scene later, and it was fine.
Rendering that character either by himself or in another scene was fine, as well.
Very strange.
But what does that error mean, anyway? How can mesh be invalidated by the renderer?
As for the mesh invalidated issue, I've never experienced that before.
OP didn't mention what products they used, I haven't a clue ~~
For mine, the character in question was Victor by Tri-X at Rendo. That said, from the look of the current log file, it looks like the *product* producing the error was Jepe's Body Hair G9, strand based hair. Weird thing is, the end of the logfile looks vaguely like it tried to render and stopped, but it rendered just fine, twice. And from the looks of things, as long as there's enough VRAM for the scene to work, that doesn't stop the render.
2026-07-16 15:48:22.524 [INFO] :: Finished rendering.
2026-07-16 15:48:22.532 [INFO] :: Total Rendering Time: 4 minutes 9.33 seconds
2026-07-16 15:48:22.583 [INFO] :: Loaded image: Genitalia Set 25 G9 AEM [AEM].png
2026-07-16 15:48:22.647 [WARNING] :: \src\sdksource\elements\dzobject.cpp(733): Mesh invalidated excessively during buildWSGeometry
2026-07-16 15:48:22.751 [INFO] :: Loaded image: Body Set 25 G9 Pubic [Pubic].png
2026-07-16 15:48:22.801 [INFO] :: Loaded image: Arms Set 25 G9 Pits [Pits].png
2026-07-16 15:48:22.813 [INFO] :: Loaded image: Body Set 25 G9 Pits [Pits].png
2026-07-16 15:48:22.885 [INFO] :: Loaded image: Legs Set 25 G9 Legs [Legs].png
2026-07-16 15:48:22.901 [INFO] :: Loaded image: Body Set 25 G9 Legs [Legs].png
2026-07-16 15:48:23.191 [INFO] :: Loaded image: Head Set 25 G9 Chest [Chest].png
2026-07-16 15:48:23.205 [INFO] :: Loaded image: Body Set 25 G9 Chest [Chest].png
2026-07-16 15:48:23.242 [INFO] :: Loaded image: Legs Set 25 G9 Buttocks [Buttocks].png
2026-07-16 15:48:23.259 [INFO] :: Loaded image: Body Set 25 G9 Buttocks [Buttocks].png
2026-07-16 15:48:23.300 [INFO] :: Loaded image: Head Set 25 G9 Brows [Brows].png
2026-07-16 15:48:23.348 [INFO] :: Loaded image: Arms Set 25 G9 Arms [Arms].png
2026-07-16 15:48:23.405 [INFO] :: Loaded image: Body Set 25 G9 Abdomen [Abdomen].png
2026-07-16 15:48:23.438 [INFO] :: Loaded image: Arms 006 [Hair Density].png
2026-07-16 15:48:23.450 [INFO] :: Loaded image: Head 006 [Hair Density].png
2026-07-16 15:48:23.466 [INFO] :: Loaded image: Body 006 [Hair Density].png
2026-07-16 15:48:23.509 [INFO] :: Loaded image: Body Set 15 G9 Abdomen [Abdomen].png
2026-07-16 15:48:23.613 [INFO] :: Loaded image: Genitalia 001 [Hair Density].png
2026-07-16 15:48:23.724 [WARNING] :: \src\sdksource\elements\dzobject.cpp(733): Mesh invalidated excessively during buildWSGeometry
Well then, I asked Victoria, here's the message for your reference... so it seems not a big issue to me ~~
Thank you so much for all your help. It's nice to know what everything means, at least.
(The concept of Studio having to do a "sanity check"...)
I'm glad that helps !