InteractivityManager.ClearPreviousControlState() ArgumentNullException
Closed this issue · 2 comments
nathanfultonTL commented
This occurred during a test interactive session. Unfortunately I didn't notice it until well after the problem occurred, and I do not have repro steps. If I can make it happen again I'll post repro. Thanks!
[Exception] ArgumentNullException: Argument cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary`2[System.String,Microsoft.Mixer.InternalButtonCountState].get_Item() /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:136
InteractivityManager.ClearPreviousControlState() Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs:3627
3625: foreach (string key in _buttonStatesKeys)
3626: {
-->3627: InternalButtonCountState oldButtonState = _buttonStates[key];
3628: InternalButtonCountState newButtonState = new InternalButtonCountState();
3629: newButtonState.PreviousCountOfButtonDownEvents = oldButtonState.CountOfButtonDownEvents;
InteractivityManager.DoWork() Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs:1240
1238: public void DoWork()
1239: {
-->1240: ClearPreviousControlState();
1241: RaiseQueuedInteractiveEvents();
1242: SendQueuedSetControlPropertyUpdates();
MixerInteractive.Update() Assets/MixerInteractive/Source/Scripts/MixerInteractive.cs:472
470: }
-->472: InteractivityManager.SingletonInstance.DoWork();
474: List<InteractiveEventArgs> processedEvents = new List<InteractiveEventArgs>();
payzer commented
Thank you for letting us know. And if you are able to make it happen again, the repro steps would be awesome.