Visual studio spamming my print command into unity

Yeah as i said its spamming my command as in print and the only way to stop it is to pause/stop the game, please help!

You are going to have to be a lot more specific if you want an answer. What are you doing? What are you trying to do? How did you do it? If you don’t want VS to spam to Unity, don’t put a print in the Update method

Hi,

Welcome to our community! :slight_smile:

Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture?

Did you put the print statement in the update method instead of the start method?

Start runs once, update runs every cycle.

I’d bet that you mistakenly put the Debug.Log code in the Update() function and not the Start() function. Code in the Update() function is run every single time a frame is rendered (30+ times per second) - code in the Start() function is only run one time, as soon as your program is ran. Hope that helps!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms