12-01-2023, 12:09 AM
Quote:Thank you for taking a stab a it
There were two data structures involved. Each was guarded by its own lock. That allowed mischief to happen when updating one then the other, when they needed to be updated at the same time.
I found that there was no reason for them to have separate locks. They now use the same lock so those updates are always synchronous. There is a good chance the bug is fixed. (Me ever hopeful.)
I'm still not clear if anyone has experienced this bug in the solo game. The solo game was not immune to the problem but the problem became more likely to occur with network latency.