Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved any 2022.2.x, clean project: constant console error spam in Inspector Debug mode

Discussion in 'Editor & General Support' started by Wolfram, Apr 20, 2023.

  1. Wolfram

    Wolfram

    Joined:
    Feb 16, 2010
    Posts:
    255
    Create new, empty 3D-project in any 2022.2.x (tested: 2022.2.2, 2022.2.14, and the current 2022.2.15). Or use an existing project - doesn't seem to matter.
    Set Inspector to Debug mode
    Select any GameObject in the scene hierarchy of the Default scene (or any other scene)

    Result:
    - Console starts endlessly spamming errors.
    - Debug Inspector effectively becomes unusable.

    This (or something very similar) was supposedly fixed in 2022.2.1:
    UUM-4170 https://issuetracker.unity3d.com/is...undoying-switching-scripts-in-debug-inspector
    upload_2023-4-20_17-8-29.png
    Editor log attached.
     

    Attached Files:

  2. Wolfram

    Wolfram

    Joined:
    Feb 16, 2010
    Posts:
    255
    Update: apparently this is related to a problem with the Editor windows layout.
    Apparently this happens with any windows layout, as long as you have a second Inspector window IN THE BACKGROUND (=not directly visible) somewhere, and that Inspector is NOT set to Debug.

    I attached a windows layout file where the problem occurs. Note: this is the ORIGINAL Default layout, and all I changed was adding another Inspector as a new tab of the Scene/Game/AssetStore window, then re-selecting Scene (to hide that Inspector), and then setting the main inspector to Debug.

    That layout causes no errors in 2021.3.x
     

    Attached Files:

  3. Wolfram

    Wolfram

    Joined:
    Feb 16, 2010
    Posts:
    255
    Bugged as IN-38954.
     
  4. Wolfram

    Wolfram

    Joined:
    Feb 16, 2010
    Posts:
    255