How to reproduce:
1. Open the “CamCurrent“ project
2. Open the “Assets/main.unity” scene
3. Enter Play Mode
4. In the Game view enable “Use Camera.Render()”
5. Observe the “Camera.current” text
Expected result: The text is “Camera.current=Main Camera (UnityEngine.Camera)”
Actual result: The text is “Camera.current=”
Reproduced with: 2021.3.37f1, 2022.3.26f1, 2023.2.20f1, 6000.0.0f1
Reproduced on: Windows 10 (by reporter), Windows 11
Not reproduced on: No other environment tested
Notes:
1. Reproducible in the Player
2. If another camera is enabled, like the “UICamera” from the “main” scene, then the text will report a non-null value but this is still incorrect