Search Unity

Bug Console Window is Unusable [Null Ref]

Discussion in 'Editor & General Support' started by VirtusH, Mar 4, 2023.

  1. VirtusH

    VirtusH

    Joined:
    Aug 18, 2015
    Posts:
    95
    On certain, seemingly random log elements, the console just bugs out entirely.

    Like this:

    Error that logs indefinitely while the log is selected:
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.ProjectBrowser.FrameObject (System.Int32 instanceID, System.Boolean ping) (at <3d77f9e52a364b2f825fba70966192a5>:0)
    3. UnityEditor.EditorGUIUtility.PingObject (System.Int32 targetInstanceID) (at <3d77f9e52a364b2f825fba70966192a5>:0)
    4. UnityEditor.ConsoleWindow.SetActiveEntry (UnityEditor.LogEntry entry) (at <3d77f9e52a364b2f825fba70966192a5>:0)
    5. UnityEditor.ConsoleWindow.OnGUI () (at <3d77f9e52a364b2f825fba70966192a5>:0)
    6. UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <3d77f9e52a364b2f825fba70966192a5>:0)
    7. UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <3d77f9e52a364b2f825fba70966192a5>:0)
    8. UnityEditor.DockArea.OldOnGUI () (at <3d77f9e52a364b2f825fba70966192a5>:0)
    9. UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <3a7f4a01e498464da8bf2ee951800f30>:0)
    10. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    11.