"EndLayoutGroup: BeginLayoutGroup Must Be Called First" Exceptions in Play Mode

Issue #1007 resolved
Martin GUILLEMOT created an issue

1. What happened?

In Play mode, when the inspector tries to draw a MonoBehaviour field, several “EndLayoutGroup: BeginLayoutGroup must be called first” exceptions are thrown.

2. How can we reproduce it?

  1. Create a new Unity project and import Odin.
  2. Create a basic class as shown below:

    csharp public class Test : MonoBehaviour { public MonoBehaviour test; }

  3. Add the class to the hierarchy.

  4. Start Play mode.
  5. Click on the class in the hierarchy.

The exceptions will be thrown.

3. If screenshots would help explain or demonstrate your issue, please include these.

(Include screenshots that show the exceptions in the console)

4. What version of Unity are you using?

2022.3.39f1

5. What version of Odin are you using? (See "Tools > Odin Inspector > About")

3.3.1.6

6. Do you have Editor Only mode enabled?

Yes

7. What operating system are you on?

Linux

Comments (1)

  1. Log in to comment