How to reproduce:
1. Download and open the attached project
2. Build the project for MacOS
3. Observe the console
Expected outcome: No errors appear
Actual outcome: "NullReferenceException" errors appear
Reproducible with: 2021.3.39f1, 2022.3.33f1, 2023.2.20f1, 6000.0.5f1
Reproduced on: macOS Sonoma M3 (User-provided info), macOS Sonoma 14.4.1 (M1)