CylinderHandleAdornment with Angle <= -45 causes crash

Reproduction Steps
Engine

  1. Join an experience in which your account has access to the server console,
  2. Execute the following code via the console, editing the Adornee value if necessary:
    local h = Instance.new("CylinderHandleAdornment")
    h.Angle = -45
    h.Adornee = workspace.Baseplate
    h.Parent = workspace
    
  3. Observe that the client crashes immediately.

Studio
This issue also presents in Studio but with different symptoms:

  1. Open a new baseplate place,
  2. Run the same code above in the command bar,
  3. Observe that an error is printed to the Output every frame.

Baseplate place with a CylinderHandleAdornment created by the above method: adornment-repro.rbxl.


Windows 10 64-bit
(Studio) Version 0.505.0.5050420

Expected Behavior
A CylinderHandleAdornment should be displayed with some representation of the negative angle given.

Actual Behavior
Following the ā€˜Engineā€™ steps, the client immediately crashes with the ā€œAn unexpected error occurredā€ dialog. Any other connected clients will also crash, presumably along with the server as it is not possible to re-join it afterwards.

Workaround
Use a positive equivalent of the negative angle.

Issue Area: Engine
Issue Type: Crashing
Impact: Low
Frequency: Constantly
Date First Experienced: 2021-12-02 18:12:00 (+00:00)
A private message is associated with this bug report

4 Likes

Thanks for the report! Weā€™ve filed a ticket to our internal database and weā€™ll follow up when we have an update for you.

1 Like