In Run mode, plugins are now started before RunService:IsRunning() returns true

Problem : In run mode, Plugins are now started before RunService:IsRunning() returns true. A work-around of adding task.wait() works (and perhaps task.defer would work as well; I haven’t tested it), but shouldn’t be required.

Where : In Roblox Studio
When it started : Since the last Studio update (Jan 12, 2022)
Reproduction Steps :

  1. Create a new plugin with this script:
local RunService = game:GetService("RunService")
print("Before", RunService:IsRunning())
task.wait()
print("After", RunService:IsRunning())
  1. Install the plugin (just making a Local plugin won’t work)
  2. Click on “Run” in Studio

[Edit: Last tested Feb 12, 2022]

1 Like

Thanks for the report! The engineers found a fix for this issue, and we believe it will be released next week.

3 Likes

Hi everyone! This issue should be fixed now, can anyone confirm?

3 Likes

I just tested it and it works - thanks!