Set visibility does not work

I’m sure I’ve done everything correctly. I start these things on hidden, and this makes them visible, it happens in other scripts too - same problem it wont become visible.

This doesnt work either (though it does print the string at the end)

Have you made sure the widget’s parent is visible too?

The fix was to store variables in game state and call from there omfg it took me so long to work that out.

suffered from same issue, until found this comment

Could you please give an example to understand better?