Reproduction Steps
The following script can reproduce the crash:
local a = Instance.new("Part")
a.Parent = workspace
local b = a:UnionAsync{a}
b.Parent = workspace
b:Clone().Parent = b
b:SubtractAsync{a}
Expected Behavior
Preferably, any children inside of the UnionOperation should be ignored when performing the operation.
Actual Behavior
The crash dialog appears and the application exits.
Workaround
Creating a clone of the union, calling ClearAllChildren()
on it, and then calling UnionAsync
/SubtractAsync
on the cloned union instead.
Issue Area: Engine
Issue Type: Crashing
Impact: Low
Frequency: Very Rarely