Destroying a RenderingTest instance while a TestService session is running causes Studio to crash

Reproduction Steps
If a RenderingTest object is parented to game.TestService and it is destroyed while a TestService session is running, Studio will crash.
To demonstrate, run this script in the Command Bar or a Plugin:

local RenderingTest = Instance.new("RenderingTest")
RenderingTest.Parent = game.TestService
game.TestService:Run()
RenderingTest:Destroy()

Expected Behavior
Either the TestService run should be cancelled or nothing should happen at all.

Actual Behavior
Roblox Studio crashes with the following dialog:

Issue Area: Studio
Issue Type: Crashing
Impact: Low
Frequency: Rarely
A private message is associated with this bug report

I’ve replied to your other thread.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.