Open IMCraytex opened 1 month ago
Seemed to narrow it down a little with this being one of my largest spikes yet. Seemingly the issue is with garbage collection. Here are the callstacks aswell if they prove useful
Did some more testing, By changing this line on sbox.runtimeconfig.json "System.GC.Server": true to "System.GC.Server": false It almost eliminated these hitches, They were still there just less frequent and not as intense. But this was at the cost of a much lower performance, This is all I can report from my end. Hope its enough!
Quick update. and bump, But changing System.GC.Server to false seemed to work yesterday but today it stopped working. The spikes occur in every single game. including a blank scene. Hope this gets looked at soon
Describe the bug
The game and editor will randomly spike in frametimes causing a hitch, for afew frames. Seems to happen every 2-8 minutes with varying intensity, In the Editor's Performance profiler it shows the rendering jump up to the triple digits like so This is what the Profiler looks like in Superluminal when the spikes occur.
The Superluminal session is too big to share here please contact me If needed.
Afew of my main thoughts of what this could have been was maybe background asset loading/shader compilation and whilst it does happen more when loading in an asset at runtime I don't think they are the same thing.
To Reproduce
Expected behavior
The gameplay should be as smooth as possible with no hitches. especially on a mainly empty game
Media/Files
No response
Additional context
OS : Windows 11 Pro 23H2 Processor : AMD Ryzen 7 5800x Stock Memory : 32gb DDR4 3600mhz GPU : NVIDIA RTX 2070 Super Drive S&box is installed to : Samsung 990 PRO M.2 2tb
If you have any questions I would be happy to help.