Destroying a ProximityPrompt inside of a PromptHidden connected causes Roblox to crash


  1. Create a Part with a ProximityPrompt parented to it. Then parent said part to Workspace.
  2. Create a LocalScript wherever preferred as long as it is able to run.
  3. Copy and paste either of these into the LocalScript


local prompt = workspace:WaitForChild("Part"):WaitForChild("ProximityPrompt")

  1. Start a Play test. Then run inside of the ProximityPrompt’s radius then back out of it. The client will crash differently depending on if this was testing on the Player or the Studio client.

This repro file uses ProximityPromptService.PromptHidden

PromptHiddenRepro.rbxl (13.1 KB)

Expected Behavior
I expect Roblox to not crash when exiting the radius of a ProximityPrompt to destroy it.

Actual Behavior
On the Player client, this will cause the “An unexpected error occurred” message to appear
On the Studio client, this will cause it to immediately crash to desktop with no .dmp being provided afterwards

Other Information
This started happening pretty recently but seems to have been happening since January of this year.

Dump Files

1 Like

We’ve filed a ticket to our internal database for this issue and will follow up when we have updates!

Thanks for the report!


Thanks for bringing this to our attention! It should be fixed now.

1 Like

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