run-in-roblox icon indicating copy to clipboard operation
run-in-roblox copied to clipboard

Table prints go unlogged

Open Dionysusnu opened this issue 3 years ago • 3 comments

The new studio output window features that print({ value = 1 }) is visualised, instead of being outputted as table: hex ID. However, run-in-roblox does not detect this at all, acting as if nothing was printed. This also applies to print(Instance.new("TextLabel"))

Dionysusnu avatar Jul 06 '21 22:07 Dionysusnu

Ah, that's rough. Does this happen with the in-game dev console as well?

If you look at the code that run-in-roblox uses to catch logs, you can see that we use LogService. I don't know if there's another way to capture logs that would pick this up. It sounds like a Roblox bug! :(

LPGhatguy avatar Jul 08 '21 18:07 LPGhatguy

The in-game dev console (F9) just prints the old table: hex ID. It's specific behaviour of print in studio. This function exists. Maybe that returns the original output? Although I wouldn't really count on it, but it's worth a shot.

Dionysusnu avatar Jul 09 '21 10:07 Dionysusnu

Addressed by Roblox Release Notes for 531. Messages longer than 2048 characters will be truncated in the event handler.

ghost avatar Jun 16 '22 14:06 ghost