Looks like this has been reported before a few months ago, but the thread was closed as if the bug were solved and the thread was locked.
Well, I’m getting this bug again on smaller mobile devices (as well as when using the mobile emulator in studio) where a black square flashes on screen whenever navigating between menus which occlude the player list.
Example in Barbie Dreamhouse Tycoon (the backpack menu covers the player list, so I have it set the core gui hidden while it’s visible):
Workaround for now:
Perform a conditional check before calling SetCoreGuiEnabled.
Example code:
local shouldHideCoreGui
if (workspace.CurrentCamera.ViewportSize.Y <= 550)
and UserInputService.TouchEnabled then
shouldHideCoreGui = false
else
shouldHideCoreGui = true
end
-- . . . Menu open
if shouldHideCoreGui then
StarterGui:SetCoreGuiEnabled(false)
end
-- . . . Menu close
if shouldHideCoreGui then
StarterGui:SetCoreGuiEnabled(true)
end
Currently working around this with the example I provided, but I’m not sure if that will be resiliant long-term since Roblox is planning to increase the sandboxed pixel space of UI on phones