Print() statements not working

Hello. I’ve encountered a new annoying problem in the last couple of days. I use print() to put messages onto the console, but for some reason after the first message the rest don’t show up. For example, for an input test I had this code:

if( Input.GetKeyDown("1") )
	{
		print("11111");
	}

I’ll press the ‘1’ key, see the output on the console, but from then on all button presses don’t show up on the console unless I clear it. It’s causing bigger problems than this but this is just a quick example. Is there some sort of console flushing I can do to get the prints to appear?

Thanks
Mo

Turn off collapse in the console.

–Eric

1 Like

Yup, that did it. Not sure how that got turned on in the first place.
Thanks mucho
-Mo

It might be possible you turned off one of the three button of console available in right top corner.
So turn on those buttons to show you print statement details

3 Likes

omg i reinstalled monodevelop twice. thanks

I’ve found that sometimes print only prints to the Editor Log. I believe Debug.Log always prints to the console.