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