UIDragDetector breaks all in-game UI

Issue:

If you are holding onto a frame, and then that frames visiblity is set to false while still holding onto it, all UI ceases to be intractable with the mouse, including the built in Roblox UI… (See attached video)

Recreation:

  • Add a ScreenGui, add a frame that’s a child of it
  • Set a UIDragDetector to be a child of a frame
  • Have a method that will set that frames visibility to false
  • Be holding onto the frame when the visibility is toggled

I’ve been able to replicate the glitch 100% of the time (On both my PC running on Windows 11, and my Mac, running Sonoma 14.1.1). though testing it on mobile (IPhone XR), the UI in fact does still work. However an icon that represents the drag detector gets stuck on screen permanently

System Info: (For PC only)

OS: Windows 11
Processor: Intel(R) Core™ i7-9700F CPU @ 3.00GHz (8 CPUs), ~3.0GHz
Ram: 32gb
GPU: NVIDIA GeForce RTX 4070 Ti

This occurs both in studio, and in game

(Hotkeys still work to open Roblox menus)

You try the bug here: Game

Video:

Edit: Fixing video

Expected behavior

Ideally disabling the frames visibility while holding it, wouldn’t break the rest of the UI elements.

2 Likes

This is a known bug-- a fix is in and should be applied this week (Most likely today!).

You can expect the behavior with the fix to be that the drag will end when the visibility property changes, as if you released the mouse.

1 Like

The fix for this should be applied now. If it is still crashing, restart studio / client and try again now or in about ~30 minutes-- should be fully rolled out by then!

1 Like

It’s still occurring:

Just saw that thread-- this thread, I believe, is about setting the parent GuiObject’s Visible property to false during drag.

Your thread is about Enabled property on UIDragDetectors-- I filed it as a new ticket and will explore it as soon as possible.