We get several C# Concurrent Exceptions from Azure when using the C# SDK.
Looks like this can happen when two functions try to perform the first PlayFab call at the very same time when a new instance is starting up. As C# Dictionary is not thread safe by itself, are we supposed to lock functions for single threading ourself, or is this just an internal error and PlayFab SDK should lock the dictionary here?
private IPlayFabPlugin GetPluginInternal(PluginContract contract, string instanceName) { var key = new Tuple<PluginContract, string>(contract, instanceName); IPlayFabPlugin plugin; if (!this.plugins.TryGetValue(key, out plugin)) <-- Exception