Reproduction steps:
1. Open the attached project “ToonTest”
2. Build and Run the project
Expected result: There is a red shadow under the sphere
Actual result: There is no shadow under the sphere
Reproducible with: 2021.3.21f1, 2022.2.10f1, 2023.1.0a26
Not reproducible with: 2023.1.0b7, 2023.2.0a5
Fixed in: 2023.1.0b1, 2023.2.0a1
Could not test with: 2020.3.46f1 (pink textures)
Reproducible on: macOS 12.4 (Intel), Windows 11
Note: issue disappears after upgrading and downgrading project