Roblox Studio crashes when all vertices of a triangle are the same.
Reproduction Steps
- Run the code below in Roblox Studio.
local eMesh = Instance.new("EditableMesh") local vertId = eMesh:AddVertex(Vector3.new(0,0,0)) eMesh:AddTriangle(vertId, vertId, vertId) local mesh = Instance.new("MeshPart") eMesh.Parent = mesh mesh.Parent = workspace
- Roblox Studio should hang for a few seconds and then crash.