Ultra n00b question - Can't see Debug.Log output!

Hi everyone, thanks to devs for providing such an excellent product and great forum to go with it!

I have been watching a beginning scripting tutorial which outputs using Debug.Log and appears at the bottom of the screen. I type the same code in and … nothing! Now if I deliberately introduce an error into the code (yeah right, like you have to do it on purpose), i can see the error message at the bottom of the screen no problem. But i can’t see the Debug output at all. Is it supposed to appear in the same place? I’ve tried bringing up the console window too and it doesn’t appear there either. I’ve used and written scripts as part of the FPS tutorial and there is no problem with them working as they should. Just the Debug.Log output is not showing up anywhere I can see. I’m on Vista if that makes any difference.

Be grateful for any help as this is very frustrating!

Cheers,

Richard

First off, welcome to the forums! :smile:

The one line display at the bottom of the editor window only shows the very last line of output. Go to Window > Console and you’ll open the console window and should see all output there. If you still don’t see your Debug.Log() dumps then make sure that code is actually being executed as you may not have the script in use just yet.

Aha!! Yes, that was it, the code wasn’t actually running! I had foolishly thought it was enough to have the script written and just be in the hierarchy and run, lol, but didn’t attach it to an object. Well at least I’m in with a great chance of winning the beginners’ stupid question of the year award!!

Thanks a lot for your very quick and accurate help, Higgy!

Richard

[/quote]