CSG error code -6

While working on a game I stumbled on an error saying Something went wrong. CSG returned error code -6. Please file a bug report, preferably with a file containing the problematic object(s).

What I’m trying to do is clone a Negate part and union it with another part.
image

Here’s the file of the two objects:
objects.rbxm (29.0 KB)

Also here’s the code I used if that helps:

local icePart = ray.Instance
local negatedPart = clonedPart
if icePart and negatedPart then
	local union = Instance.new("UnionOperation", workspace)
	union:UnionAsync({icePart, negatedPart})
	icePart:Destroy()
	negatedPart:Destroy()
	union.CFrame = icePart.CFrame
	union.Name = "Ice"
end