Reproduction steps:
1. Open the attached project "Testcase_MultiCompile_2022.3"
2. Enter Play mode
Expected result: The squares on the left and right are the same (except for the gray/black part)
Actual result: The top left square is white, the bottom left square is black and red
Reproducible with: 2021.2.0a16, 2021.3.27f1, 2022.3.1f1, 2023.1.0f1, 2023.2.0a19
Not reproducible with: 2021.2.0a15
Reproducible on: macOS 13.2.1 (Intel), Windows 10 (user’s)