GUI not being clickable

Hey guys, i dunno if its me or a bug so here to ask for some help.
Basically ive created a GUI packer/unpacker. That extracts the properties of a GUI and creates a JSON file. Then the unpacker parses through the JSON and build the GUI. It seems to work really well except there is one weird problem. Any of the GUI I pack then unpack lose their functionality. They arent clickable. The image buttons don’t swap to the pressed image on click, the mouse doesnt become a pointy hand when moved over them and even events dont seem to fire (button.mouseZlick1 etc…). Is this a bug or… has my packer failed to correctly record/assign a property that might be causing this?
Any ideas would be great!!
Thanks in advance :slight_smile:

:Update
After some more testing i think it must be something wrong with he screenGui as if i create a new button instance and parent it to the unpacked screenGui it loses all interactivity. however if this button is then parented to a different not unpacked screenGui it works as normal.

:Update2
Woop can now confirm it was the ScreenGui bugging out. I dont think it has any properties that if set would cause the effects i’ve had… so i dunno what was causing it. but setting its properties after creating its children seems to have fixed whatever it was… Gui objects do need to check other parts of the hierarcy to overwrite padding and chain inputs between then and etc… so i guess this was probably disrupted by the way i initiated the screen gui’s creation… Do things in the right order i guess…

I’d assume maybe the Interactable or Active properties could be failing to be unpacked properly.

1 Like

for a button to detect mouse interactions i think it needs to be in the playergui

1 Like

No i can confirm it is not that - thanks tho

No it is parented to player gui already, and has not problem being displayed. thanks tho

What about ZIndex? You don’t have any transparent frames blocking the buttons right?

yeah already checked that too. I think this is some sort of serious engine bug… I cant probs get around it by changing any setting on a screenGui till after then unpacking… maybe… dunno will keep trying. thanksfor the suggestions tho.

1 Like