Setting the adornee property of a SurfaceGui to a BaseScript crashes studio

When setting the Adornee property of any SurfaceGui to a Script, LocalScript, or Module, Studio will monetarily freeze before crashing.

Enabled Beta Features

  • Dragger QoL Improvements
  • Faster Play Solo
  • Grass Length Customization
  • In-experience CSG Improvements
  • Luau Native Code
  • Mutlilayer Wrap Fix
  • Notched Screen Support
  • Terrain Editor
  • UIListLayout Flex Features
  • Updated Docking System
  • Updated Roblox Controls
  • Upgraded Shorelines

Studio Version
0.620.0.6200463 (64bit)

Frequency
Always

Reproduction

  1. Open a new baseplate project in Studio
  2. Add a SurfaceGui and either a Script, a LocalScript, or a ModuleScript anywhere in the datamodel
  • Make sure the script editor is NOT open; go to the viewport tab
  1. Set the adornee property of the SurfaceGui to the BaseScript
  • Studio will freeze for about half a second before crashing

Expected behavior

The Adornee property should not be set, and Studio should not crash.

A private message is associated with this bug report

2 Likes

Found someone to check this out! We’ll get back to you when we have an update :slight_smile:

1 Like

Is there any update on this issue? This has not been resolved.
I should also note that this same issue also occurs with BillboardGuis.

1 Like

Hey! The team is aware of this issue. No updates that I’m aware of.

1 Like

Hi, is this issue still occurring? I’m unable to cause a crash with either SurfaceGui (does not allow me to set the Adornee property) or BillboardGui (allows me to set the property, just doesn’t crash).

Hey, thanks for getting back to me.
Yes, I am still experiencing this issue for both SurfaceGuis and BillboardGuis.
I’m not sure if it makes any difference, but try parenting an instance to the SurfaceGui/BillboardGui and then set the adornee property to a script. When I attempted to reproduce this issue without adding any children to the Gui, nothing happened. However, after adding a Frame and attempting to set the adornee property of the Gui again, Studio crashed. Now any successive attempt crashes Studio whether or not I add a child to the Gui.

2 Likes

Can you give me any details on the machine you’re using? For reference, I’m still unable to reproduce this on an M3 Max Macbook Pro. Once I can reproduce this, then we can start working on it. Thanks!

I’m experiencing this on a Windows 10 desktop PC.

Hi, checking back on this, I have tried to follow the steps and make sure there is instance under the surfacegui before adornee assignment, I still cannot repro issue on a similar windows machine. If you still encounter this issue, do you mind sending us the place file before parenting surfacegui to a script and it crashes? As it is a pretty unexpected action to assign adornee as script and the property would normally correctly decline the assignment, we might close the issue out as it is hard to reproduce it on our side. Thanks~