Error after ESC

When i use ESC to pause the game, it gives me an error message after a few minutes and the game automatically exits from itself. How could i fix it?

Hi Vandor!
What message does it give you?

I have found the solution. The “reshader” mod broke the game. But now it has been fixed.

Gosh, perhaps that one of the reasons why the EULA prohibits the use of mods.