SurfaceGui buttons and textboxes occasionally taking no input

,

surfacegui

SurfaceGui.rbxl (16.5 KB)

They apparently take no input from gamepads, but take input from mouse clicks if there’s nothing between the player’s camera and the adornee of the SurfaceGui.

Blue = parented to StarterGui before the game runs; Yellow = parented to PlayerGui after the game is running

  • Describe the bug. Describe what is happening when the bug occurs. Describe what you would normally expect to occur.

I have a SurfaceGui which I use for my main menu that has AlwaysOnTop set to true, and is parented to the PlayerGui. I have the SurfaceGui set behind some parts to create some depth, and is usually works as expected (the player can click the buttons). Occasionally though, the SurfaceGui doesn’t take any input, not even from a gamepad. The gamepad can select the buttons though, but just not click stuff. When this occurs though, if I move the part blocking the SurfaceGui, I can click it (still no gamepad input though).

  • How often does the bug happen (Everytime/sometimes/rarely)? What are the steps that reproduce the bug? Please list them in very high detail. Provide simple example places that exhibit the bug and provide description of what you believe should be the behavior.

I get reports of it from my players everyday, so I’d say that it happens pretty often, but not always. After doing some research on the bug, it appears to occur when the gui isn’t parented directly to the StarterGui/PlayerGui when the game starts running. For example, I have the SurfaceGui parented to a LocalScript, which is parented to StarterGui/PlayerGui, but at the start of the LocalScript, it parents the SurfaceGui to the PlayerGui. So in other words, before the LocalScript runs, the SurfaceGui isn’t parented to the PlayerGui directly.

  • Where does the bug happen (www, gametest, etc) Is it level-specific? Is it game specific? Please post a link to the place that exhibits the issue.

At first I thought it had to do with just my place, but I attempted to reproduce it a new place and I got it to work (the bug). You can reproduce it by opening the .rbxl file at the top of the thread and playing solo (it takes a few tries).

  • For graphics bugs, it is sometimes helpful to know your system specs, especially graphics card.

I don’t think it’s related with graphics, but:

Operating System: Windows 10
Graphics Card: AMD Radeon R7

  • When did the bug start happening? If we can tie it to a specific release that helps us figure out what we broke.

It seems to have been around for more than two weeks. I don’t think it’s always been a problem though.

4 Likes

This is causing a similar problem for me. It’s a very annoying bug to debug/work around atm

Same happening for me, but with billboards instead…

1 Like