diff --git a/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs b/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs index b404e3c1..452e2c5c 100644 --- a/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs +++ b/src/OWML.ModHelper.Menus/NewMenuSystem/OptionsMenuManager.cs @@ -453,6 +453,7 @@ public SubmitAction CreateButton(Menu menu, string buttonLabel, string tooltip, var newButtonObj = Object.Instantiate(existingButton); newButtonObj.transform.parent = GetParentForAddedElements(menu); newButtonObj.transform.localScale = Vector3.one; + newButtonObj.name = $"UIElement-Button-{buttonLabel}"; // the thing we're copying is already LEFT, so dont need to handle it if (side == MenuSide.CENTER)