Possible bug, game crashes on exit

Unfortunately that isn’t much information. You’ll need to debug the issue and follow where the values go to find out why that check failed. One thing that could point toward what is causing it is to look at the output log from a session where this crash occurred. Could you upload one of those logs?