Dragging constraint breaks Move dragger

Reproduction Steps
My friend Nexure had this issue, and I’ve easily reproduced it, so I thought it was worth reporting.

You can reproduce the issue by looking at this gif:

Alternatively, here are the steps written out:

  1. Create a dummy rig
  2. Drag any bodypart (so that it breaks the Motor6D weld)
  3. Select an Attachment inside said bodypart, and try to move it

According to Nexure, this happened after the FFlag “FFlagPreserveMotor6D” was enabled. (This was automatically enabled for everyone, not a part of a beta feature.)

Console Output:

 22:04:28.987  DataModel Loading https://assetdelivery.roblox.com/v1/asset/?id=6560363541  -  Studio
  22:05:04.723  builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Utility.PartMover:515: invalid argument #2 (Vector3 expected, got nil)  -  Edit
  22:05:04.723  Stack Begin  -  Studio
  22:05:04.723  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Utility.PartMover', Line 515 - function commit  -  Studio
  22:05:04.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerSchemaCore.TransformHandlesImplementation', Line 95 - function endDrag  -  Studio
  22:05:04.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Handles.MoveHandles', Line 484 - function mouseUp  -  Studio
  22:05:04.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 112 - function _endHandleDrag  -  Studio
  22:05:04.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 59 - function processMouseUp  -  Studio
  22:05:04.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerToolModel', Line 368 - function _processMouseUp  -  Studio
  22:05:04.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.DraggerTools.DraggerToolComponent', Line 112  -  Studio
  22:05:04.725  Stack End  -  Studio
  22:05:06.372  builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle:49: Mouse should already be down while dragging handle.  -  Edit
  22:05:06.372  Stack Begin  -  Studio
  22:05:06.372  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 49 - function processMouseDown  -  Studio
  22:05:06.373  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerToolModel', Line 357 - function _processMouseDown  -  Studio
  22:05:06.373  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.DraggerTools.DraggerToolComponent', Line 106  -  Studio
  22:05:06.373  Stack End  -  Studio
  22:05:06.724  builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Utility.PartMover:495: assertion failed!  -  Edit
  22:05:06.724  Stack Begin  -  Studio
  22:05:06.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Utility.PartMover', Line 495 - function commit  -  Studio
  22:05:06.724  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerSchemaCore.TransformHandlesImplementation', Line 95 - function endDrag  -  Studio
  22:05:06.725  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Handles.MoveHandles', Line 484 - function mouseUp  -  Studio
  22:05:06.725  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 112 - function _endHandleDrag  -  Studio
  22:05:06.725  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 59 - function processMouseUp  -  Studio
  22:05:06.725  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerToolModel', Line 368 - function _processMouseUp  -  Studio
  22:05:06.725  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.DraggerTools.DraggerToolComponent', Line 112  -  Studio
  22:05:06.726  Stack End  -  Studio
  22:05:07.322  builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle:49: Mouse should already be down while dragging handle.  -  Edit
  22:05:07.322  Stack Begin  -  Studio
  22:05:07.322  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 49 - function processMouseDown  -  Studio
  22:05:07.323  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerToolModel', Line 357 - function _processMouseDown  -  Studio
  22:05:07.323  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.DraggerTools.DraggerToolComponent', Line 106  -  Studio
  22:05:07.323  Stack End  -  Studio
  22:05:07.423  builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Utility.PartMover:495: assertion failed!  -  Edit
  22:05:07.423  Stack Begin  -  Studio
  22:05:07.423  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Utility.PartMover', Line 495 - function commit  -  Studio
  22:05:07.423  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerSchemaCore.TransformHandlesImplementation', Line 95 - function endDrag  -  Studio
  22:05:07.424  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Handles.MoveHandles', Line 484 - function mouseUp  -  Studio
  22:05:07.424  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 112 - function _endHandleDrag  -  Studio
  22:05:07.424  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerStates.DraggingHandle', Line 59 - function processMouseUp  -  Studio
  22:05:07.424  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.Implementation.DraggerToolModel', Line 368 - function _processMouseUp  -  Studio
  22:05:07.424  Script 'builtin_MoveDragger.rbxm.MoveDragger.Packages.DraggerFramework.DraggerTools.DraggerToolComponent', Line 112  -  Studio
  22:05:07.424  Stack End  -  Studio

Expected Behavior
I expect to be able to drag the attachment.

Actual Behavior
Studio errors and the Move dragger crashes.

Issue Area: Studio
Issue Type: Crashing
Impact: Moderate
Frequency: Constantly

5 Likes

that workaround doesn’t seem to work for me
When I try using the dragger after running that, it just keeps saying “Plugin handle already exists”

It seems that a good workaround for this, is simply by deleting the Motor6D’s inside the selected character. Heres a simple script I made that does just that:

for _, motor in next, game.Selection:Get()[1]:GetDescendants() do
    if motor:IsA("Motor6D") then
        motor:Destroy()
    end
end
2 Likes

Sorry for being late to this. We’ll take a look now.

1 Like