How To Print To The Unity Console | Unity Console Not Displaying Text

preview_player
Показать описание

I ran into an odd issue the other day while trying to test write (print) statements to the Unity console. After writing the correct C# scripts and methods and still not seeing my work in the console, I had to go looking for a solution.

What I found is actually pretty simple and I'm posting this video in case other people run into the same problem. It's a simple fix that involves making sure the correct buttons are highlighted on the Unity console - those that show errors, warnings, and messages.

In this video, I'll show you how to write a simple script in C# that prints to the Unity console, the proper syntax needed, how to quickly attach the script to an in-scene gameObject, and then how to show your print statements in the console window.

#Unity #Console #CSharp
Рекомендации по теме
Комментарии
Автор

Omg thank you haha I was losing my mind 😅

Dr.Zoidberg_
Автор

Bro.. You just helped me solve an even bigger issue I was having that wasn't even related to this video xD Thank you!!!!

lanefaulhaber
Автор

Thank you, a short simple explanation, a rarity!

dontforgetthegame
Автор

thank you for your help really thank you from morocco 👍

magdamaroc
Автор

cool, but how do you do it with visual studio code?

SkullcrusherDogenborn
Автор

wow gracias por el video, me ayudo a resolver un error que realmente era simple

sr.presidente
Автор

Thank you, fam. I changed from using Console class to using Debug. It's weird 'cause Console always worked before. Anyway, thanks again.

keithkatane
Автор

i tried this and yet it isnt printing anything still, i have my scrip[t attached to the main camera and it has both the debug and the print but nothing... please help

ryanslagle
Автор

This is happening to me and there are no numbers next to any of the 3 buttons?

darylchit
join shbcf.ru