Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene” Scene
3. Enter Play Mode
4. Observe the Console
Expected result: No errors are logged in the Console
Actual result: “NullReferenceException” is logged in the Console
Reproducible with: 1.6.0 (2022.3.12f1), 1.9.1 (2021.3.38f1, 2022.3.27f1), 2.0.0-exp.2 (6000.0.0f1)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: On up to 1.7.1 version, while the exception is thrown, the contents of the array are also logged in the Console, while in newer versions, only the exception appears