Creating a plugin action, triggering it, and then updating it causes a crash

Reproduction Steps

  1. Create a script with the following source. Name it “TestPlugin”. This is a simple script that creates a no-op plugin action.
local testAction = plugin:CreatePluginAction(
	"TestAction",
	"TestAction",
	"TestAction"
)
testAction.Triggered:Connect(function() end)
  1. Save the script as a local plugin (Right click → Save as Local Plugin…).
  2. Trigger the action once via the Quick Open menu (default hotkey: Ctrl + Alt + P).
  3. Save the script as a local plugin again.
  4. Open the Quick Open menu. The crash will immediately happen after this point.

Video demo of the crash (sorry for the music playing in the background.):

Expected Behavior
I don’t expect a crash to happen when I open the Quick Open menu.

Actual Behavior
Studio crashes when I open the Quick Open menu.

Issue Area: Studio
Issue Type: Crashing
Impact: High
Frequency: Constantly
Date First Experienced: 2022-02-04 07:02:00 (-08:00)

1 Like

Thanks for the report!

I can repro this, and have filed a ticket internally.

4 Likes

Circling back on old reports, this one should have been fixed some time ago. Please indicate if you are still having issues here.

3 Likes

Yep. Looks fixed. Thanks!
asdf asdf asdf asdf asdf asdf asdf asdf

1 Like