Keksuccino / Spiffy-HUD

Source code for Spiffy HUD.
Other
16 stars 3 forks source link

Game hangs for several seconds #4

Closed aburone closed 2 years ago

aburone commented 3 years ago

The game halts for 5-10 seconds every couple of minutes. Couldn't identity what was the issue so I ran some profiling... https://spark.lucko.me/6JpJgcDaw8

Keksuccino commented 3 years ago

Lagging seems to be a problem for a small amount of users, but I wasn't able to identify what exactly causes this yet. It runs fine for me and most other users :o Your profiling thing only tells me that the game loop uses 100% of the...CPU I guess? But yeah, sadly that doesn't really helps to identify the crash :(

Will keep trying to fix whatever causes this. Thank you for telling me! :)

netcore10 commented 2 years ago

It could be that it's just a bit heavy to render. The main culprits being in the game loop and camera and render loop. (I don't code, but i don't think it's an easy fix, probably something to do with optimising code)

image

Keksuccino commented 2 years ago

This got fixed in v1.4.3! Thank you for your report!