Does the issue occur in the editor or during gameplay?
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Briefly describe the issue you're experiencing:
While Loops wll always show a log_message counting through loop iterations even if the loop itself has no such debug code (print/log_message)
Are there any errors in the in-game debug console or external console window?
Provide the steps necessary to reproduce the issue:
- Create a very simple loop in a script
Example:
$range = 0;
while $range < 15 do
$range += 1;
wait(1);
end;
display_message("loop done!");
- run the game and execute the script
- you will see log_messages counting from 1 to 15 at the top left of the screen without scripting it to do so.
this means any while loops currently are always going to be logging numbers on the screen, and there have been various reports on the discord of users encountering these "myserious numbers" within their own other project related loop log messages.
Workaround for now: Place clear_log()
wthin the looping process ....unless the loop has logs you need to see.
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):
Reproducable in any project.