Reproduction steps:
1. Open the "Raw test" project
2. Select "Terrain" in the Hierarchy
3. In the Inspector go to Terrain Settings
4. Navigate to Texture Resolution (On Terrain Data) and press Import Raw
5. Chose "
Raw test\\Assets
heightmap.raw" and press Open or Cancel
Expected result: Raw image gets imported or canceled
Actual result: Console error: EndLayoutGroup: BeginLayoutGroup must be called first.
Reproducible with: 2020.3.33f1, 2021.3.1f1, 2022.1.0a10, 2022.1.0b16, 2022.2.0a10
Not reproducible with: 2019.4.38f1, 2022.1.0a1, 2022.1.0a9
Note: Reproducible after pressing "Open" or "Cancel" in file explorer