When certain types of output appear in the Output, their appearance and traceback link (when you click on them) becomes the same as whatever output was hovered over at the time.
A good reproduction is as follows:
Open a place in studio and do the following:
- create a new script
warn("test") wait(5) for i = 1, 5 do print(i) end error("test error")
- hit play
- mouse over the warning in the output
- once the other text shows up, move your mouse elsewhere in the output
This results in the following:
If you separate the output into different scripts (e.g. the initial warning into one and everything else into another) you can see that the outputs all point to the place the warning came from rather than the proper place.
From what I can tell, this is only triggered by printed output and warnings, though as you can see in the gif it converts all the output regardless once it’s triggered. It notably doesn’t trigger if the code is ran in the command bar (as no traceback is given) and if the output from the script doesn’t provide a traceback, like stuff from