I’m so happy with the new Defold 1.12.2! It fixed indeed the gui.pick_node() issue but… Does it happen to you that the safe area works erratically?
Sometimes I open up my app and it works, sometimes (same app, no new build), I open it up and it ignores the safe area, with buttons being drawn where they shouldn’t. Am I missing something?
But I am using safe area (and immersive mode is on). Feels like safe are is not being found when launching the app?
But it’s funny because it’s the opposite error from the pick_node() issue! Now the button is inside the safe area, but I do have to click where it SHOULD be for it to work!?
And the device has a higher or lower resolution than your gui node!
There the position of your buttons is out of step and…
It’s a bit tedious but with this you can create different layout measurements (960x540, 1920x1080, etc) the device itself detects the layout measurement!
I do have my layouts, that button is a child of the top-left corner node, which correctly places itself when resolution changes. And indeed, if I don’t use the safe area and simply place my button 100 pixels down from the top-left corner, it’s out of the device’s safe area and I can click it. But safe are should do that automatically, right? That’s its whole reason to exist
The issue is that safe area sometimes works (GUI is pushed out of the safe area and I can click on buttons thanks to that fix) and sometimes safe are does not work and GUI nodes are not pushed out of the safe are, as seen on the image I attached.
It works erratically. But when it works it works well now after the last update.
Exactly. When I launch the app sometimes those buttons are properly pushed out of the safe area and I can click on them, sometimes they are not pushed VISUALLY, but if I tap where they should be it works.