drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
MIT License
1.24k stars 49 forks source link

Crash/freeze when navigating the Objects menu #310

Closed SamTheBlow closed 7 months ago

SamTheBlow commented 7 months ago

Describe the bug When going through pages in the Objects menu, the game is highly prone to crashing and freezing.

To Reproduce Steps to reproduce the behavior:

  1. Click on 'Singleplayer'
  2. Click on 'Objects'
  3. Spam click on the arrows to go to the previous/next page
  4. The game consistently crashes or freezes in under a minute

Expected behavior The game is expected to not crash or freeze :)

Screenshots Spam click these arrows here: bug_report

Environment Linux (Ubuntu)

Version v0.1.2

Additional context You don't even need to click at a fast rate. I found that it consistently crashes/freezes even when clicking on the arrows once every two seconds. Another note is that sometimes it crashes, sometimes it freezes. I don't know why that is. One final note is that for some reason, I can't find the log file, if there is one.

drwhut commented 7 months ago

I'll mark this as a duplicate of #216, but yeah I've had this happen to me a few times as well completely at random, and it's extremely difficult to debug. Hopefully with the new objects menu UI coming in v0.2.0 (see #268), this problem should be completely eliminated :crossed_fingers: