I don't know what it was.The game didn't close. The screen looked like the game closed, but the process wasn't.It wasn't closed from Task Manager. The game changed the PID and still worked. I needed to execute "taskkill" command.
Strangely, the same error sometimes popped up when we were testing the game.