Selecting the DataModel using the Selection service crashes Studio

Studio crashes if the DataModel is selected, by using the Selection:Set() function. This creates a huge downside for untrusted plugins which can close the Studio at command, putting the progress made in the game at risk.

Reproduction Steps:

  • Type game.Selection:Set({game}) in the command bar and press enter

Expected Behavior:
Instances that are not browsable should not be selectable, the reproduction code resulting maybe in nothing happening or an Output error stating the statement above.

Actual Behavior:
Studio crashes with the error message of “An unexpected error occured and Roblox needs to quit. We’re sorry!”.

Log files were attached to the internal ticket by a Roblox Staff!

Issue Area: Studio
Issue Type: Crashing

3 Likes

Thanks for the report! Could you provide some logs in a private message?

I thought you could access them. Either way, I have sent you a private message containing the log file.

Thanks for the report, we’ve found the root cause and will get a fix in.

3 Likes

This should now be resolved. (There are still some bits of Lua code shipping with Studio which don’t like you selecting the game but those should cause a Lua error at worst, not a crash)

1 Like

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