Reproduction steps:
1. Open the attached “BreakTheProfiler.zip” project
2. Open the Profiler window (Window > Analysis > Profiler)
3. Enter the Play mode
4. Observe the Rendering Profiler module in the Profiler window
Expected result: The Rendering Profiler module shows rendering statistics
Actual result: The Rendering Profiler module’s statistics are all zero
Reproducible with: 2021.3.6f1, 2021.3.33f1, 2022.3.15f1, 2023.2.3f1, 2023.3.0a17
Not reproducible with: 2021.3.5f1
Reproducible on: Windows 11, macOS 13.6.2 (M1 max)
Not reproducible on: No other environment tested
Note: Deleting the “Application.targetFrameRate = 30;” line in the “BreakTheProfiler.cs” script fixes the issue