Garry's Mod

Garry's Mod

Gmod Light / Environment Editor
hawk tuah 2024년 5월 2일 오후 2시 51분
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.
< >
2개 댓글 중 1-2개 표시
JonahSoldier  [개발자] 2024년 5월 13일 오전 12시 09분 
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 2024년 5월 15일 오후 10시 29분 
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?
< >
2개 댓글 중 1-2개 표시
페이지당 표시 개수: 1530 50