Thanks for the answer!
There is not much what was changed during the upgrade, except for some plugins. I have check every plugin, it doesn’t seem to be the problem. Debugging does not help, I’ve tried to run game with the debugger on, but it gives no helpful context on what could cause this error.