How to fix duplicating buttons on graphics menu?

Hi. So I have a graphics settings menu, and it works fine but when I go back to another menu and come back it duplicates the amount of buttons I have, each time I go back and forth, it multiplies. I tried removing the ISVALID check which fixed the duplication BUT, it caused over 100 blueprint errors about “trying to read index 117 of an array of length 6!” etc. I’ve attached screenshots of the code that I edited for the showing of the menu, what the menu should look like and what it actually looks like when I go back and forth. Regards.

Hi. I don’t actually know if this will work but you could try to use “remove from parent” node in your blueprint when you exit from the menu. Hope this helps!

The problem is not in the screenshot. You have an array of something elsewhere and try to access elements that are outside the array’s boundaries.

That’s what I’m using right now :frowning: It doesn’t work