Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
5
Question by Neurotoxia · Oct 25, 2013 at 07:57 PM · debugconsolenot-working

I can't get Debug.Log to work at all.

I can't get and have never been able to get a Debug.Log comment to show in the Console. I've looked through as many answers as I can and have exhausted all the suggestions. Up until now, I've managed without them, but I really need to figure out what I'm doing wrong so I can start using them.

I already have:

-made sure to attach the script to an active gameobject.

-made sure the script runs.

-put my Debug.Log line in the Update() function and not within any if statements.

-closed the console, then reopened it while the game plays.

-made sure that collapse is not turned on.

-made sure clear-on-play and error-pause are not turned on.

Debug.Log comments do not appear BUT I can see the number next to the exclamation point go from zero to 999+ in the console (if collapse is turned off). So I believe Unity is registering that I want Debug.Log comments, but it is not putting them in the console. No Debug comments appear in the lower bar of the window either. I've looked at Edit > Preferences but there does not seem to be anything related to Debug in there.

This is the script I've been using to try to get Debug to work:

function Start () {

}

function Update () {

Debug.Log("Test");

}

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
24
Best Answer

Answer by karl_ · Oct 25, 2013 at 08:00 PM

Are the filter toggles set to on in the title bar?

Edit for clarity - these things:

http://i.imgur.com/0XhVtF9.gif

Comment
Add comment · Show 8 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Neurotoxia · Oct 25, 2013 at 08:11 PM 0
Share

Wow. Fantastic. Thank you A THOUSAND times. I feel kind of foolish for not realizing that but oh well.

avatar image urhire@yahoo.com · Mar 18, 2014 at 09:30 AM 0
Share

Great work. Thanks a lot. Had headache finding the solution for the same issue

avatar image urhire@yahoo.com · Mar 18, 2014 at 11:01 AM 0
Share

Thank you so much. Love you for this. Had a headache finding the solution

avatar image DVendy · Jul 11, 2014 at 02:13 PM 0
Share

Dammit., for hour I've been banging my head for this problem., Thanks! :D

avatar image Trys10Studios · May 28, 2016 at 09:02 PM 0
Share

I've been using Unity s$$anonymous$$dily for about 8 months and never knew that you could do this lol. Thanks!

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Input Button is not setup Error 1 Answer

Less verbose Debug.Log ( Xcode ) 0 Answers

Same output_log.txt file being written to by multiple clients at once? 0 Answers

How to clear a specific error/warning in the console output window? 0 Answers

Debug.Print not working 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges