MessagingService: Service disconnected

Title says it all. Is the service down I’m assuming? Not sure if bug or just Roblox servers

1 Like

Nope. MessagingService does that when doing a studio test. It will work when playing in-game.

9 Likes

The script was running perfectly last time, but now I am having the same error as him, Idk what’s happening. I just have the SubscribeAsync() function, the only one that uses PublishAsync its me in the dev console in the middle of the game. So yeah, I am having the same issue today 6/29/2020. My script ain’t running cuz of this issue…

1 Like

MessagingService, when it initially released, had the ability to be used in-studio with access to API services.

Forward in time, Roblox does not allow the service to be used in Studio anymore.

2 Likes

The MessagingService is used in a function I have in a module. Do you know of anyway I can not have that function break in studio? I am unable to test in studio because the error “MessagingService is disconnected” happens and then the loading screen just breaks and never stops spinning.

1 Like

Add logic to not run that part when in studio

if (not RunService:IsStudio()) then
	-- Load the MessageService logic
else
	-- This is studio, ignore it
end
7 Likes