Steps to reproduce:
1. Open the attached “PVP” project
2. Open the “City” Scene
3. In the Project Window, select the “City” Scene
4. Press Ctrl+B to build the project
5. Observe the Console Window
Expected result: Build is successful
Actual result: Build fails with “UnassignedReferenceException” error
Reproducible in: 2022.1.0a1, 2022.3.62f1, 6000.0.48f1, 6000.1.2f1, 6000.2.0a10
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- The build succeeds when the “City” scene is deselected
- Reproducible on all scenes