Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Bug with GUILayout

Discussion in 'Immediate Mode GUI (IMGUI)' started by aubergine, Sep 17, 2022.

  1. aubergine

    aubergine

    Joined:
    Sep 12, 2009
    Posts:
    2,865
    If you try to open a modal window (or any other window) from a button inside a layoutgroup, editor will throw an error complaining that "EndLayoutGroup: BeginLayoutGroup must be called first." probably because of the new window, the previous window couldnt finish its layout group cycle, or something.
     
  2. oscarAbraham

    oscarAbraham

    Joined:
    Jan 7, 2013
    Posts:
    431
    aubergine likes this.