Search Unity

Editor error after update

Discussion in 'Editor & General Support' started by Caliber, Dec 14, 2018.

  1. Caliber

    Caliber

    Joined:
    Feb 11, 2018
    Posts:
    86
    So I just updated to 2018.3.0f2, and the only error I get is:

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.ConsoleWindow.MakeSureConsoleAlwaysOnlyOne () (at C:/buildslave/unity/build/Editor/Mono/ConsoleWindow.cs:312)
    UnityEditor.ConsoleWindow.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/ConsoleWindow.cs:294)
    UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
    UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

    When I double click it, no GameObject is selected.
    There is no C:/buildslave folder.
    Restarting Unity doesn't remove it.
    The game still builds fine, but I want to get rid of it. Any ideas?
     
  2. SpeedDeamon

    SpeedDeamon

    Joined:
    Jul 14, 2018
    Posts:
    2
    I cant even get the settings to my Target Signal to appear. I downloaded on both my Mac and Windows and I am receiving the same errors.
     

    Attached Files:

  3. Floofloof

    Floofloof

    Joined:
    Nov 21, 2016
    Posts:
    41
    Im having the same issue. Pops up a few times time every time i swap back to the editor or after a few seconds
     
  4. Caliber

    Caliber

    Joined:
    Feb 11, 2018
    Posts:
    86
    I solved it today by changing the Editor Layout to default, and then customizing it again. Apparently there was a second Console Window hidden somewhere.
     
  5. mohsansaleem

    mohsansaleem

    Joined:
    Sep 11, 2014
    Posts:
    1
    MakeSureConsoleAlwaysOnlyOne: Make sure there is only one Console Window.
     
    finz_devteam1 and chamikakaushan like this.
  6. mikeburns

    mikeburns

    Joined:
    Sep 17, 2017
    Posts:
    7
    This fixed it for me, too.
     
    giggioz likes this.
  7. sonnyb

    sonnyb

    Joined:
    Nov 5, 2013
    Posts:
    17
    Previous versions of Flyingworm's Editor Console Pro may also cause this issue, so upgrading Editor Console Pro asset is another possible solution.

    (This issue was pointed out in this other Unity thread)

    https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889

    Version 3.956 (released Mar 4, 2019)

    Added log file mode, allowing you to parse Editor.log
    Added search CPAPI command to set the search text field
    Fix for Unity exceptions some people are getting in a few Unity versions
    Disabling override status bar for now, hack no longer works well with new Unity versions
     
  8. giusti

    giusti

    Joined:
    Sep 15, 2019
    Posts:
    5
    Resetting editor layout to default in the top right fixed it for me too. Thanks Caliber!
     
    Joe-Censored likes this.
  9. Disalvo

    Disalvo

    Joined:
    Aug 19, 2015
    Posts:
    2
    Hi guys,

    This happened to me and then I realized I had TWO Console Tabs open in the editor, you may have one or more, close until you have ONLY ONE CONSOLE TAB.

    Hope it helps!

    Best of luck to you all!
     
  10. Refentse

    Refentse

    Joined:
    Apr 1, 2020
    Posts:
    6
    Thanks, guys. Resetting the editor layout worked for me too.
     
    daniel_alves_bra likes this.
  11. unity_0TIS6FOOUP6x9g

    unity_0TIS6FOOUP6x9g

    Joined:
    Jul 25, 2019
    Posts:
    1
    guuysss im still stucked with this !! its reaaaalllyy annoying !! whenever i try to save something this error comes up and ive tried eeverything !! chaging the layout , reinstalling unity , trying another versions (im using 2019.4) .... nothing worked !! i really apreaciate a remedy ... !!
     
    gem4 likes this.
  12. James-DeCarlo

    James-DeCarlo

    Joined:
    Dec 6, 2015
    Posts:
    6
    Thank you sir! That was the fix!
     
  13. gem4

    gem4

    Joined:
    Jun 25, 2021
    Posts:
    1
    I have this error, and I am using (2020.3). Does anyone know how to solve this issue?
    i appreciate if anyone know the solution :S

    NullReferenceException: Object reference not set to an instance of an object
    OculusSampleFrameworkUtil.HandlePlayModeState (UnityEditor.PlayModeStateChange state) (at Assets/Oculus/SampleFramework/Editor/OculusSampleFrameworkUtil.cs:43)
    UnityEditor.EditorApplication.Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange state) (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:404)

    Screen Shot 2021-07-12 at 03.49.13.png
     
  14. Deleted User

    Deleted User

    Guest

    Did you find a solution to this one? I have the same error.