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.

@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