mixer / interactive-unity-plugin

Unity Plugin for Mixer Interactivity
MIT License
59 stars 23 forks source link

InvalidOperationException: The current state of the connection is not Open. #131

Open lipecss opened 4 years ago

lipecss commented 4 years ago

I know they stopped supporting SDk, but I'm having this problem after changing the scene. The bug breaks the game

InvalidOperationException: The current state of the connection is not Open. WebSocketSharp.WebSocket.Send (System.String data) (at <ada4d9055779459eba001155e0ce4e7e>:0) Microsoft.Mixer.InteractivityManager.SendJsonString (System.String jsonString) (at Assets/Plugins/MixerInteractive/Source/Scripts/InteractivityManager.cs:3559) Microsoft.Mixer.InteractivityManager._SendSetButtonControlProperties (System.String controlID, System.String propertyName, System.Boolean disabled, System.Single progress, System.String text, System.UInt32 cost) (at Assets/Plugins/MixerInteractive/Source/Scripts/InteractivityManager.cs:3493) Microsoft.Mixer.InteractiveControl.SetDisabled (System.Boolean disabled) (at Assets/Plugins/MixerInteractive/Source/Scripts/InteractiveControl.cs:86) ButtonsMixerControllers.ToggleDisabled () (at Assets/Scripts/ButtonsMixerControllers.cs:56)