HJfod / BetterEdit

Makes the Geometry Dash Editor Better
GNU Lesser General Public License v3.0
133 stars 31 forks source link

Pressing F3 hotkey crashes the game after re-entering the Editor #170

Open illukramonialo opened 4 months ago

illukramonialo commented 4 months ago

GitHub Octicons: Alert Crash Report

Pressing the Preview Mode default hotkey crashes the game.


Description

It only works on the second time entering the Editor. It happens regardless of the amount of content in the level. Ticking Preview Mode checkbox manually appears to temporarily prevent the crash from happening. However, by entering the Editor for the third time the hotkey still crashes the game. The only workaround I found was changing the hotkey from F3 to a random unassigned key. After doing this, the new hotkey safely switches Preview Mode, but the original one is still active and crashes the game upon being pressed.

How to replicate:

  1. Update BE from version 6.0.0 to 6.1.1
  2. Enter the Editor
  3. Toggle F3 a couple of times and exit the level
  4. Enter the Editor again and press F3

Demonstation

https://github.com/HJfod/BetterEdit/assets/144915512/5c6e6abc-029f-41ab-b3a0-bc44c3e7c87b

Crash Log

2024-02-12_15-12-19.log

HJfod commented 4 months ago

Hmm, seems like a CustomKeybinds bug

matcool commented 4 months ago

i can confirm it doesn't happen without BetterEdit