Issue Type: Crashing
Date First Experienced: 2021-05-14 00:05:00 (+02:00)
Date Last Experienced:
Unfortunately, I could not pin down the steps to reproduce this issue. I hope I can provide enough info for you to investigate though.
My studio freezes whenever I run this code:
character.Archivable = true
local dummy = character:Clone()
local dummyRoot = dummy.HumanoidRootPart
dummyRoot.Anchored = true
dummy.Parent = Terrain
If I comment out the last line, it stops freezing.
This piece of code has existed for months in my game and it did not freeze until today. Now, even my old files from months ago will freeze when I run the code.
Do note that this code does not freeze studio by itself, as I’ve tried to run it in a blank file and it did not freeze. There must be something else that interacts with it but as I have mentioned I could not pin it down.
I expect the studio not to freeze.
Studio freezes indefinitely and I have to terminate it.
Deleting all localscripts inside dummy before parenting it to workspace.Terrain fixed this.