Revolutionary-Games / Thrive

The main repository for the development of the evolution game Thrive.
https://revolutionarygamesstudio.com/
Other
2.77k stars 495 forks source link

The game still randomly locks up in the C# code #5072

Open hhyyrylainen opened 4 months ago

hhyyrylainen commented 4 months ago

It has been confirmed that the game does lock up random during gameplay still. Could be related to specific thread counts, like really low thread count around 2-4 (which would explain why I haven't seen this). Or it just could be that it is very rare.

ggkkaa commented 4 months ago

It has been confirmed that the game does lock up random during gameplay still. Could be related to specific thread counts, like really low thread count around 2-4 (which would explain why I haven't seen this). Or it just could be that it is very rare.

Are there any crash logs?

hhyyrylainen commented 4 months ago

There are no crash logs because the game doesn't crash. It just gets stuck and never does anything again needing to be force closed to get it to quit. It is possible to dump the thread callstacks with gdb and the C# callstacks with some C# introspection (I can push my really crude command line tool for this if anyone is interested). That's how I've identified some areas where the game could lock up and added workarounds (https://github.com/Revolutionary-Games/Thrive/issues/4989).

hhyyrylainen commented 3 months ago

Fixing https://github.com/Revolutionary-Games/Thrive/issues/5132 may have fixed this (at least this removed one freeze I was able to consistently get).