Creating instances via plugins in Team Test without yielding causes disconnect

If a plugin creates an instance in TeamCreate’s Team Test as soon as it loads, the user will be disconnected. This is 100% reproducible and only happens in Team Test.

###Repro Tools:

www.roblox.com/library/801859799/TeamTestNoCrashRepro
Source:

wait(1)
Instance.new("Sound", workspace)

www.roblox.com/library/801837642/TeamTestCrashRepro
Source:

Instance.new("Sound", workspace)

###Repro Steps

  • Disable all plugins
  • Install above two plugins
  • Disable TeamTestCrashRepro, leaving TeamTestNoCrashRepro active
  • Load up a Team Test in any Team Create session
  • You will not be disconnected
  • Disable TeamTestNoCrashRepro and activate TeamTestCrashRepro
  • Join Team Test again
  • You will be disconnected upon joining

###Other notes:
This is not specific to sounds/Workspace, and other instances/parents can be chosen and will produce the same result. spawn() does not seem to provide enough yielding either to prevent the disconnect.

3 Likes

Any word on this?

That… is really strange. Sorry for the delay, but I’ll add this to our bug list!

2 Likes

This should be fixed now in the most recent Roblox Studio release. Thanks for your help in pointing out this bug and giving clear bug reproduction steps.

2 Likes

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