How to reproduce:
1. Open the attached project "ProbeCameraCacheNullRefEx.zip"
2. Build And Run the project
3. In the Player press the “Esc” button on the keyboard
Expected results: The {layer exits without any errors
Actual results: "NullReferenceException: Object reference is not set to an instance of an Object." is thrown
Reproducible with: 2022.3.6f1, 2023.1.5f1, 2023.2.0b2, 2023.3.0a1
Could not test with: 2021.3.29f1 (compilation errors in the Console window)
Reproducible on: Windows 10