Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by enkephalin07 · Oct 26, 2015 at 09:40 PM · debugtestingdeveloper

developerConsoleVisible?

I can clearly see it in the Editor, and I've see the nice 3rd party extension available, but I want be clear as to whether there's one built into the Player that can be activated.

At this stage, building with the Development Build option is a matter of course. So would I be able to drop down a console and sniff variables and poke at functions in runtime?

EDIT: I'm using the Editor on a PC, testing with PC standalone and Web Player builds.

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 Statement · Oct 26, 2015 at 11:40 PM 0
Share

I've never used it, I poked at it and tried different build options but I couldn't see it or any logs or errors that I logged before and after setting it to true. Doesn't appear to do anything.

"I can clearly see it in the Editor"

Where do you see it in the editor? I see nothing out of the ordinary.

avatar image enkephalin07 Statement · Oct 27, 2015 at 10:36 AM 0
Share

Isn't it the tab that's at the bottom by default, plus a single-line pane beneath that?

avatar image Statement enkephalin07 · Oct 27, 2015 at 06:51 PM 0
Share

You mean this one that is visible, that isn't visible? :)

 void Update()
 {
     Debug.developerConsoleVisible = true;
     if (Debug.developerConsoleVisible)
         Debug.Log("VISIBLE");

Doesn't appear to work. I see nothing. It's false all the time.

Show more comments

1 Reply

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

Answer by Statement · Nov 14, 2015 at 12:46 PM

@enkephalin07: Well here's one thread that hints that it doesn't do anything in Unity 5. Here's another thread that has a comment suggesting it only happen on PC platform but note that the OP is using it for editor scripts and the comment is for players. Here's a third thread that suggests some changes were made in/before 4.x when clearing in the editor. The API was added in Unity 4.1.0.

If we were to put those scraps of information together;

  • Not supported in Unity 5?

  • Was at least supported in the editor?

  • Only supported for PC platform?

  • Unclear if supported on players.

  • Not supported on iOS/Android players?

  • Introduced in Unity 4.1.0.

Reading the threads, I become more and more convinced it used to tell if the console in the editor was visible. This is just my interpretation of reading peoples usage.

There doesn't appear to be much information about this on first few pages of a google search. I guess you could send a bug report with type documentation and ask them to provide an example. Include a link to this question so they can see people are having issues figuring out what it's expected to do. When I saw the API I also first assumed it would enable a console in a built player (because the API is accessible in UnityEngine.dll, not UnityEditor.dll), but now I am not so sure.

You could also download Unity 4.1.0 and see if it does anything differently.

Only to save people who want to go to the bottom of this time; you can't easily tell without source code what the effect is, when calling the setter of the property. It's not in managed code.

 // UnityEngine.Debug
 public static extern bool developerConsoleVisible
 {
     [WrapperlessIcall]
     [MethodImpl(MethodImplOptions.InternalCall)]
     get;
     [WrapperlessIcall]
     [MethodImpl(MethodImplOptions.InternalCall)]
     set;
 }

I'm talking about a developer console in engine, not in editor. Is there such a thing built-in?

I have never seen one. I've only ever seen people do their own by registering to logMessageReceived

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 enkephalin07 · Nov 14, 2015 at 04:52 PM 0
Share

Thank you. I want to elevate your reply to an answer, because that's what it is, but I don't know how to do that.

avatar image Statement · Nov 15, 2015 at 03:04 AM 0
Share

Converted to answer.

avatar image enkephalin07 Statement · Nov 15, 2015 at 04:39 PM 0
Share

Using log$$anonymous$$essageReceived with System.Console is what I have been doing, but a classic 3D dropdown console would be much more convenient and flexible. It's been the superior option since Quake engine was new, so I expected a 3D development platform would naturally have it integrated.

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

32 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Game pauses when the idle animation does one full loop 0 Answers

Visually draw multiple Gizmo 2D circles around a prefab? 0 Answers

Script wont work when Debug log removed 0 Answers

My if-statement is returning true but it's not processing the code inside the brackets.. 0 Answers

How to determinate a difference between the 2 RenderTextures? 0 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