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.
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:
Demonstation
https://github.com/HJfod/BetterEdit/assets/144915512/5c6e6abc-029f-41ab-b3a0-bc44c3e7c87b
Crash Log
2024-02-12_15-12-19.log