Garry's Mod

Garry's Mod

Gmod Light / Environment Editor
Saves with the editor in them will crash the game
Some of my saves with the environment editor in them (and lighting values set to 2-3) will cause the game to immediately crash upon loading. I also have a fog editor loaded as well if that has any effect on the environment editor. Disabling the environment editor addon will allow the same saves to be loaded just fine (with obviously no changes to the environment or lighting).

I am running the 64-bit + chromium branch, 32GB RAM, Radeon RX 6650XT, Ryzen 7 5700x.
< >
Showing 1-2 of 2 comments
JonahSoldier  [developer] 13 May @ 12:09am 
A bunch of the options cause lag spikes when changed (e.g. Ambient Light, Radiosity, mat_specular). They're more severe on larger maps, so if it's just larger maps it might be because too much is being loaded in/changed at once. If it's every map (including ones like gm_construct) then I'm not really sure what would cause this. Either way I don't think I can really do anything to help other than suggesting you try using smaller maps, fewer changed values, or fewer entities.

Everything that causes any lag in this addon is a result of changing an existing console command or calling an existing function, which I don't have any way to optimize.

(Also the fog editor shouldn't have any effect on the light/environment editor, there isn't any overlap in what they do/what functions they use. If it did I'd be very surprised)
hawk tuah 15 May @ 10:29pm 
I agree that it might just be due to too much being loaded in at once. Could it be possible that a slight delay is added? Maybe a way to wait for the game to load and then apply the lighting changes?
< >
Showing 1-2 of 2 comments
Per page: 1530 50