Garry's Mod

Garry's Mod

Dynamic Volumetric Fog
Game halts upon opening configuration menu
With no other addons installed outside of this addon's dependency, when the configuration panel is opened, the game freezes indefinitely with the following lua error:
[Volumetric Lighting / Fog] lua/entities/volume_cloud.lua:54: called mesh.Begin with a primitive count which results in too many vertices (1228824, maximum=32768)
1. Begin - [C]:-1
2. RegenerateMesh - lua/entities/volume_cloud.lua:54
3. unknown - lua/entities/volume_cloud.lua:38
4. CallProxies - lua/includes/extensions/entity.lua:352
5. Setsubdivisions - lua/includes/extensions/entity.lua:380
6. DynamicVolumetricsInit - lua/autorun/client/cl_dynamic_volumetrics.lua:21
7. OnChange - lua/autorun/client/cl_dynamic_volumetrics.lua:118
8. OnChange - lua/vgui/dcheckbox.lua:87
9. SetValue - lua/vgui/dcheckbox.lua:31
10. ConVarStringThink - lua/derma/init.lua:102
11. unknown - lua/vgui/dcheckbox.lua:59
< >
Viser 1-7 af 7 kommentarer
Tiny Desk Engineer 12. dec. 2024 kl. 12:49 
Sometimes it only freezes when the main menu is opened after the error occurs, but otherwise the error is identical. It also happens on both the 32 and 64 bit versions of the game.
Tiny Desk Engineer 12. dec. 2024 kl. 13:07 
And sometimes it doesn't even freeze at all. The error remains mostly consistent, though, and no volumetric fog appears.
Mikey  [udvikler] 12. dec. 2024 kl. 16:12 
It looks like you set the subdivisions too high somehow.
Mikey  [udvikler] 12. dec. 2024 kl. 16:15 
How the ♥♥♥♥ did that manage to happen??
Mikey  [udvikler] 12. dec. 2024 kl. 16:16 
I'm looking in the code rn and I've set clear mins and maxes for that.
Mikey  [udvikler] 12. dec. 2024 kl. 16:17 
I will try something stupid.
Mikey  [udvikler] 12. dec. 2024 kl. 16:20 
ah, looks like I forgot to set limits on the ConVars themselves. The gui had limits but the convars didn't have any.
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50