From 80c711bbad00fb33cadc79d261aa1ca4e0dd03cc Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 4 Sep 2018 09:38:18 -0700 Subject: [PATCH] fix: resolve issue where custom scenes created through a "createScenes" message via the Mixer API SendInteractiveMessage would not be properly processed --- .../MixerInteractive/Source/Scripts/InteractivityManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs b/Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs index 81ac952..9b4ab35 100644 --- a/Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs +++ b/Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs @@ -1758,7 +1758,7 @@ private void HandleSceneCreate(JsonReader jsonReader) string keyValue = jsonReader.Value.ToString(); if (keyValue == WS_MESSAGE_KEY_SCENES) { - _scenes.Add(ReadScene(jsonReader)); + _scenes.AddRange(ReadScenes(jsonReader)); } } }