As of a few days ago, game:GetService("LogService").MessageOut
no longer fires when in studio.
We have been using this event as a way to detect commands and input via command bar, as well as commits.
It has stopped working, causing a massive workflow disruption for our teams .
We rely on the ability to read output to detect script commits and perform version control without having to rely on something like Rojo.
We have been using this in a plugin for over a year now and it’s never been a problem. Now it simply doesn’t work.
Expected behavior
I expect MessageOut to work even in studio.
1 Like
Could you provide more details on how to reproduce this issue?
We currently use the event in a plugin; the following snippet demonstrates the problem:
game:GetService("LogService").MessageOut:Connect(function(Message, Type)
print(Message, Type)
end)
Despite running hi
in the command bar, nothing is printed from the plugin.
Windows 11 ,
1 Like
Vanniris
(Vanni)
May 15, 2024, 10:05pm
#4
Is this what you’re expecting? Seems to work for me. On Team Create, same Studio version.
1 Like
Bulldo344
(LawMixer)
May 15, 2024, 10:14pm
#5
I was about to report it, but you were faster! Anyways, I can confirm that this is a problem still.
When playing my Roblox Studio and then attempting to stop it when it crashed my Roblox Studio, and then wouldn’t let me edit it which is very very annoying.
Code Snippet:
game:GetService("LogService").MessageOut:Connect(function(message, message_type)
print(`Message Content: {message}; Message Type: {tostring(message_type)}`)
end)
Output of nothing being spammed;
The solution was, to delete the local plugin and then reinstall Roblox Studio.
1 Like
Hey,
Sorry, perhaps the example was not the best to explain the issue.
Using print
, warn
, error
will correctly result in MessageOut being fired, but anything besides that won’t.
This is a problem, because we need the ability to read the output, regardless if it originates from a print command or not, in order to check for commits.
1 Like
Vanniris
(Vanni)
May 15, 2024, 10:19pm
#7
Doesn’t seem to work with errors that originate from compilation. Has this always worked before?
Bulldo344
(LawMixer)
May 15, 2024, 10:21pm
#8
Yes, this has worked before and did not do this in this degree. Roblox Studio is on the latest version, and I do use Windows 10;
1 Like
Hi all,
Thanks for the reports. We reverted a recent change and the issue should have been resolved now.
3 Likes