Upon using the device emulator to test any mobile / tablet device, buttons created using ContextActionService are misplaced, and changes to any of their properties using ContextActionService:GetButton() are ignored.
This only occurs on PlaySolo, and works without any issues in-game, making testing mobile UI on studio frustrating.
before it was rolled out to everyone, this only ocurred when the “Faster Play Solo” feature was enabled.
Thank you for the bug report. We’ve been able to reproduce the problem and are preparing a fix, which will ship in a future version of Studio.
This was indeed caused by Faster Play Solo, which changed the ordering of certain loading events and ended up breaking the ContextActionService:GetButton API in Play Solo mode for the first frame. Essentially, when user scripts first run a specific resource needed for this API hasn’t loaded yet. As a temporary workaround, adding a task.wait(1/60) to your script prior to calling the GetButton API should dodge the load order problem.