Game Crashes whenever opening console in a map

Whenever i… What the title said. The game completely closes out, no error or anything, it just freezes, and after a few seconds, poof, there goes the game window.

(Methods Ive Tried)

(-dxlevel 81 in the launch options)

(Reinstalling)

(Valdating files)

If anyone has any other methods to fix this, please let me know.