github-for-unity / Unity

GitHub for Unity
https://unity.github.com/
MIT License
3.04k stars 448 forks source link

Scripts not debugging/running in unity 2020.6. #1144

Closed PranavBharadwaj1 closed 2 years ago

PranavBharadwaj1 commented 3 years ago

-->

Description

Steps to Reproduce

  1. Download Visual Studio Code and install all necessary plugins.
  2. Log a message in the console with Debug.Log method.

Expected behavior: Message appear in console.

Actual behavior: Nothing happens.

Additional Information

I am on windows and new to unity. I have tried reinstalling unity 3 times and I still have the same problem. Any help would be appreciated.

twobob commented 3 years ago

Look in the unity Console. image

https://docs.unity3d.com/ScriptReference/Debug.Log.html

Note that Unity also adds Debug.Log messages to the Editor and Player log files. See https://docs.unity3d.com/Manual/LogFiles.html for more information about accessing these files on different platforms.

please close this issue