Toggling CoreGuiEnabled for Player List randomly plays a black screen flash animation

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):

Original Post:

CC @thirdtakeonit

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
1 Like

We’ve filed a ticket to our internal database, and will update you when we have more information!

Thank you!

2 Likes

Hi, wondering if I can get an update on this.

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