GuiTaek / endergenesis

MIT License
0 stars 0 forks source link

server sometimes hang #2

Closed GuiTaek closed 7 months ago

GuiTaek commented 7 months ago

Sometimes while testing the servers hangs. Aborting it doesn't generate a crash report. I'm not sure though if it has to do with the debugger. I have no idea why this happens, nor can I debug it without an error message. If anyone has an idea, please let me know 🙂

GuiTaek commented 7 months ago

So it seems to be a broken development environment. Because on purposely crashing the game prints a stacktrace that says, a library isn't found. When I looked at the path, it was actually there. The game doesn't stop and now, on rebuilding the development environment, the freeze never happened again. I think, it is very likely that the development environment becomes corrupted when the game crashes often (what happened in my case).

GuiTaek commented 7 months ago

So I ran into this bug again. I found a way to reproduce the bug and with that, to fix. How to reproduce:

  1. enter an enderworld portal
  2. go back to the overworld
  3. this should work
  4. close the world without closing the game
  5. do 1-3
  6. this shouldn't work