We're getting a couple of crashes while some menus/windows are open while the game is running,
I suspect due to the ui thread checking the dictionary for a key, then the engine thread removing the dictionary entry before the ui thread has a chance to then look up whatever it was looking for.
We should probably go through and make any functions that we're not calling from the UI be internal.
Then go through each of the public functions that the UI is calling and ensure it's not going to cause problems.
CargoMath.cs is probably the biggest culprit right now.
We're getting a couple of crashes while some menus/windows are open while the game is running,
I suspect due to the ui thread checking the dictionary for a key, then the engine thread removing the dictionary entry before the ui thread has a chance to then look up whatever it was looking for.
We should probably go through and make any functions that we're not calling from the UI be internal.
Then go through each of the public functions that the UI is calling and ensure it's not going to cause problems.
CargoMath.cs is probably the biggest culprit right now.