Reproduction steps:
1. Open the attached "IN-97252" project
2. Open the “Scene Cube” Scene
3. Select the “Main Camera” GameObject
4. In the Inspector window enable the “Post-process Layer” component
5. Enter Play mode
6. Exit Play mode
7. In the Inspector window disable the “Post-process Layer” component
8. Enter Play mode
9. Observe the Console window
Expected result: No errors appear in the Console
Actual result: 2 “NullReferenceException” errors appear in the Console
Reproducible with: 2.10.3(2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7), 3.1.3(2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7)
Reproducible on: Windows 11, macOS 15.3.1 (Sequoia) - user’s
Not reproducible on: No other environments tested