Hi,
UPDATE: Setting “Log” to “ScriptOnly” in the editor console log window has addressed this.
At some point recently, I lost line numbers in the Unity editor console log. In addition, I can no longer double click on any given line and have MonoDevelop open and go to the correct line. I’m not sure what I might have done to lose this ability. If anyone could let me know what’s wrong here, I’d appreciate it.
For reference, I’m on Unity 5.4.0p4, running in editor. I’m set to the Android platform and have development build and script debugging checked in build settings.
Here’s a sample of a simple debug log statement in the editor log:
Initializing store
0 libsystem_c.dylib 0x0000000094ca1c28 thread_stack_pcs + 11
1 Unity 0x00000000025f0bf2 backtrace + 18
2 Unity 0x0000000001d0e88b _Z13GetStacktracei + 91
3 Unity 0x0000000001332901 _Z17DebugStringToFileRK21DebugStringToFileData + 385
4 Unity 0x000000000133095d _Z17DebugStringToFilePKciS0_iiiiPFvRK11CppLogEntryE + 93
5 Unity 0x0000000001dc045b _Z35DebugLogHandler_CUSTOM_Internal_Log7LogType11ICallString21ScriptingObjectOfTypeI6ObjectE + 267
6 [Mono JITed code] (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,string,UnityEngine.Object) + 0xa5 (0x12187ee30 0x12187ef04) [0x10d746660 - Unity Child Domain]
7 [Mono JITed code] UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) + 0x81 (0x12187ed80 0x12187ee25) [0x10d746660 - Unity Child Domain]
8 [Mono JITed code] UnityEngine.Logger:Log (UnityEngine.LogType,object) + 0x138 (0x128917ad0 0x128917c2c) [0x10d746660 - Unity Child Domain]
9 [Mono JITed code] UnityEngine.Debug:Log (object) + 0x68 (0x128917a10 0x128917a9c) [0x10d746660 - Unity Child Domain]
10 [Mono JITed code] GoldStoreScript:Start () + 0x10a (0x1289b8a50 0x1289b8c83) [0x10d746660 - Unity Child Domain]
11 [Mono JITed code] (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0xfa (0x11a484be0 0x11a484e0d) [0x10d746660 - Unity Child Domain]
12 libmono.0.dylib 0x000000000a5c1012 mono_get_runtime_build_info + 3654
13 libmono.0.dylib 0x000000000a6eb42a mono_runtime_invoke + 117
14 Unity 0x00000000011d9f85 _ZN19ScriptingInvocation6InvokeEPP13MonoExceptionb + 85
15 Unity 0x00000000011b3de4 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE19ScriptingMethodMonoP10MonoObjectPP13MonoException + 1748
16 Unity 0x00000000011b409a _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE19ScriptingMethodMonoP10MonoObject + 250
17 Unity 0x00000000011b1eae _ZN13MonoBehaviour16DelayedStartCallEP6ObjectPv + 238
18 Unity 0x0000000000d8186a _ZN18DelayedCallManager6UpdateEi + 762
19 Unity 0x00000000010883da _Z10PlayerLoopbbP10IHookEvent + 1290
20 Unity 0x0000000001a7c15c _ZN11Application11UpdateSceneEb + 764
21 Unity 0x0000000001a7c7d3 _ZN11Application13EnterPlayModeEb + 611
22 Unity 0x0000000001a7902e _ZN11Application12SetIsPlayingEb + 318
23 Unity 0x0000000001a782f0 _ZN11Application9TickTimerEv + 1888
24 Foundation 0x000000008ccb7d6c __NSFireTimer + 95
25 CoreFoundation 0x0000000095033b94 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
26 CoreFoundation 0x0000000095033823 __CFRunLoopDoTimer + 1075
27 CoreFoundation 0x000000009503337a __CFRunLoopDoTimers + 298
28 CoreFoundation 0x000000009502a871 __CFRunLoopRun + 1841
29 CoreFoundation 0x0000000095029ed8 CFRunLoopRunSpecific + 296
30 HIToolbox 0x0000000088491935 RunCurrentEventLoopInMode + 235
31 HIToolbox 0x000000008849176f ReceiveNextEventCommon + 432
32 HIToolbox 0x00000000884915af _BlockUntilNextEventMatchingListInModeWithFilter + 71
33 AppKit 0x000000008b919efa _DPSNextEvent + 1067
34 AppKit 0x000000008b91932a -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
35 AppKit 0x000000008b90de84 -[NSApplication run] + 682
36 AppKit 0x000000008b8d746c NSApplicationMain + 1176
37 Unity 0x0000000001d70109 _Z10EditorMainiPPKc + 1401
38 Unity 0x0000000001d707c9 main + 9
39 Unity 0x00000000000021a4 start + 52
40 ??? 0x0000000000000001 0x0 + 1
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)