Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/OutdoorsScene“ scene
3. Select the “Terrain” GameObject in the Hierarchy window
4. Click on the “Paint Details“ button in the Inspector window
5. Observe the Console window
Expected result: No errors are thrown in the Console window
Actual result: “MissingComponentException: There is no 'TerrainCollider' attached to the "Terrain" game object, but a script is trying to access it.“ errors are thrown in the Console window
Reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.14f1, 6000.0.0b11
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested