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
1
Question by Aladine · Sep 04, 2013 at 09:57 PM · console

Console doesn't work

Hello everyone, something very strange happened now, the console doesn't show any of the "print" or "Debug.log" , it only works if there is errors, i tried another project and i still got the same problem, am 100% sure that the script is attached to an object, actually am using the script (moving an object) i tried restarting unity and it doesn't fix it, am working with GUI to track my codes now, anyone have an idea why this is happening ? thank you
Edit : attached file the example contain a cube with a script attach to it, to make sure that the script work correctly i made it move the cube, as you see it works but neither the Debug.Log or the print works

EDIT2 : the script :

 using UnityEngine;
 using System.Collections;
 
 public class NewBehaviourScript : MonoBehaviour
 {
 
     // Use this for initialization
     void Start ()
     {
     
         Debug.Log ("test");
         print ("test again");
     }
     
     // Update is called once per frame
     void Update ()
     {
     
         transform.Translate (Vector3.left * 2 * Time.deltaTime);
         
     }
 }
 

Comment
Add comment · Show 5
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 ArkaneX · Sep 04, 2013 at 10:42 PM 0
Share

Could you please post your script ins$$anonymous$$d of a link to file?

avatar image Aladine · Sep 04, 2013 at 10:45 PM 0
Share

topic updated

avatar image Aladine · Sep 04, 2013 at 11:15 PM 0
Share

thank you very much, please make your comment as an answer so i can choose it as the correct one, my console window was small to the point that i can't see these icons, i don't know how the info and warning was disabled but yeah that was the thing and i kinda feel embarrassing to not think of that before posting :p thank you again

avatar image ArkaneX · Sep 04, 2013 at 11:22 PM 0
Share

Glad I could help :)

avatar image yyuryyubicuryy · Mar 07, 2015 at 05:47 PM 0
Share

I am having a similar problem. Only error messages get printed to my console. my console toggles (infos) is set correctly (I tried both on and off just to be sure). I tried using the full class name as suggested above also with no luck. I even tried upgrading from 4.6 to 5 and had no change. I believe that there is something on my PC (I am using Windows 7) that has changed.

I am just learning Unity. When I first used unity with print statements I had no problem seeing the print messages showing up on my console. While experimenting with the scripts I apparently caused my program to go into a loop that I could not stop so I powered off my PC. When I restarted my PC and went back to just a simple program with print statements, nothing would show in the console.

Ideas?

3 Replies

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

Answer by ArkaneX · Sep 04, 2013 at 11:10 PM

In the top right corner of console window, there are three icons: info, warning, error. Clicking on them toggles filtering of particular messages. Maybe you accidentally disabled infos?

If filtering is ok, then try to test logging using full class name (with namespace):

 UnityEngine.Debug.Log("info");

It might be worth checking additional Log variants as well:

 UnityEngine.Debug.LogWarning("warn");
 UnityEngine.Debug.LogError("error");
 UnityEngine.Debug.LogException(new Exception("exception"));
Comment
Add comment · Show 3 · 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 WilliamJung · Apr 26, 2014 at 12:34 AM 0
Share

Thank you!!!, I disabled infos.

avatar image Cameron Petty · Dec 07, 2014 at 09:35 PM 0
Share

Bonus - thanks for that, ArkaneX.

I was stuck on this, and it turns out that using the full class name was the fix I was looking for . . .

avatar image LucyLuna · Apr 14, 2016 at 04:05 AM 0
Share

thanks man , I have the same problem but now it's ok thanks to your answer

avatar image
0

Answer by Aminpk · Mar 29, 2018 at 08:01 PM

but how''''''

Comment
Add comment · 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
0

Answer by unity_k2BBXCsX2wCldQ · Sep 24, 2020 at 06:00 PM

I know what ArkaneX is talking about. it's these three buttons here: alt text

,I know what ArkaneX is talking about. it's these three buttons here: alt text


untitled.png (57.5 kB)
untitled.png (57.5 kB)
Comment
Add comment · 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

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

Why Am I getting MissingMethodException message? 3 Answers

Why can't I use the Asset Store Manager? 0 Answers

Playing with the Gravity PROBLEM 0 Answers

problem with terrain collider 0 Answers

In Game Animation 2 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