Selection Objects Are Not Removed After Adornee Deletion

Description

I am unsure if this is intended behavior, a bug, or a multifaceted issue.
If certain objects* have their adornee set to a part and that part is deleted, the selection is not unrendered and instead remains visible. Upon further investigation, I noticed other objects** that use adornees do not demonstrate this behavior; however, the adornee is still set to the now-deleted part. This is also true of seemingly all properties that accept an object value in that deleting the object does not reset the object value to nil.

1

*Adornees With Visual Bugs

Arc Handles
BoxHandleAdornment
ConeHandleAdornment
CylinderHandleAdornment
Handles
LineHandleAdornment
SelectionBox
SelectionSphere
SphereHandleAdornment
SphereSelection

**Adornees Without Visual Bugs

AdGui
BillboardGui
Highlight
SurfaceGui

Anything unlisted was either untested or indeterminate

Reproduction

Reproduction Rate: 100%

Adornee

  1. Insert base part
  2. Insert any object from either of the above lists and do not parent to base part
  3. Set adornee property to base part
  4. Delete base part

Object Value

  1. Insert base part
  2. Insert any object with an object value property (such as ObjectValue) and do not parent to base part
  3. Set object value property to base part
  4. Delete base part

System Information

Behavior is reproducible with 100% consistency on both devices
Intel Core i3-1005G1 @ 1.20GHz, 8GB, Intel UHD Graphics
11th Gen Intel Core i7 @ 2.50 GHz, 16 GB, NVIDIA GeForce RTX 2060

Thanks for the report! We’ll follow up when we have an update for you.

1 Like

Not a bug.

Or rather, we would have considered this a bug at some point but it’s been this way for long enough that it has turned into the expected behavior.

There’s many cases out there of adorning SelectionBoxes and HandleAdornments to parts which aren’t in the workspace, so there’s probably no feasible change we could make to the behavior without breaking too many things.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.