BetterEdit icon indicating copy to clipboard operation
BetterEdit copied to clipboard

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

Open illukramonialo opened this issue 2 years ago • 2 comments

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

illukramonialo avatar Feb 12 '24 13:02 illukramonialo

Hmm, seems like a CustomKeybinds bug

HJfod avatar Feb 12 '24 16:02 HJfod

i can confirm it doesn't happen without BetterEdit

matcool avatar Feb 13 '24 00:02 matcool