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

[WORKAROUND] No game window, fresh HDRP project, 2019.3

Discussion in 'Editor & General Support' started by sergiusz308, Jan 31, 2020.

  1. sergiusz308

    sergiusz308

    Joined:
    Aug 23, 2016
    Posts:
    234
    Hi there, does anyone encountered this as well?

    Just upgraded to 2019.3.0f6 and upon opening new HDRP project and there's no game window! In it's place there's a black space. Switching layout does not helped. Game window is not working in Play mode as well.
    Scene window works fine:

    upload_2020-1-31_11-55-27.png

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.HostView.DeregisterSelectedPane (System.Boolean clearActualView, System.Boolean sendEvents) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.HostView.SetActualViewInternal (UnityEditor.EditorWindow value, System.Boolean sendEvents) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.HostView.set_actualView (UnityEditor.EditorWindow value) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.WindowLayout.MaximizePrepare (UnityEditor.EditorWindow win) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.EditorApplicationLayout.InitPlaymodeLayout () (at <6f28216fea9f453abf2e05b770ed3ee4>:0)

    Bug report: http://fogbugz.unity3d.com/default.asp?1215838_h2k1unf2vaalkl7s
     
  2. Deleted User

    Deleted User

    Guest

    Window/Layouts/RevertFactory Settings... is what you should have tried before reporting a bug.
     
    sergiusz308 likes this.
  3. sergiusz308

    sergiusz308

    Joined:
    Aug 23, 2016
    Posts:
    234
    @APSchmidt - thanks for the hint, it worked.


    I reported bug because Editor failed at fresh start, without any kind of friendly message or information that there are special considerations regarding starting a new project.


    Good that there's a workaround for this, so I can work, but nevertheless it's something that has no right to exist in production grade software.