diff --git a/Assets/MediaPipe/Examples/Scripts/GraphSelectorController.cs b/Assets/MediaPipe/Examples/Scripts/GraphSelectorController.cs index d9a4f621f..f739f56d4 100644 --- a/Assets/MediaPipe/Examples/Scripts/GraphSelectorController.cs +++ b/Assets/MediaPipe/Examples/Scripts/GraphSelectorController.cs @@ -62,6 +62,6 @@ void OnValueChanged(Dropdown dropdown) { var graph = graphs[option.text]; Debug.Log($"Graph Changed: {option.text}"); - sceneDirector.GetComponent().ChangeGraph(Instantiate(graph)); + sceneDirector.GetComponent().ChangeGraph(graph); } }