Summary
SetFocus doesn’t work for button{} for UI created entirely in verse
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
UI/Tools
Steps to Reproduce
Scenario 1:
Add 2+ button{} with any image to a StackBox and apply to the player with inputMode = All
Use SetFocus to any button.
Notice that the focus Always go to the same buttom (It used to be the last added. Now I believe it changed to the first added because it broke my UI that was working fine with the “Last” rule.
Scenario 2:
Repeat Sceanario 1 but being an overlay., but when you click in the buttons, it will open a new UI on top of the first one.
SetFocus and notice that the focus does not go anywhere.
Scenario 3:
Almost the same as scenario 2, but instead of on click you add an overlay, add a new canvas directly to the player ui. The focus will not work also.
Expected Result
SetFocus always go to the correct button{} regardless the nested level
Observed Result
SetFocus does not work
Platform(s)
All