How to reproduce:
1. Open the attached project "Tilemap Bug Test.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Select Grid/Tilemap in the Hierarchy window
4. Set 'Order in Layer' to 1 in the Inspector window
Expected results: Tilemap is white
Actual results: Tielmap turns red
Reproducible with: 2021.3.30f1, 2022.2.0a17, 2022.3.10f1
Not reproducible with: 2023.1.0a1, 2023.1.14f1, 2023.2.0b11, 2023.3.0a6
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested