Search Issue Tracker
Fixed in 6000.0.65f1
Fixed in 6000.0.X, 6000.3.X, 6000.4.X, 6000.5.0a4
Votes
0
Found in
6000.0.62f1
6000.2.13f1
6000.3.0f1
6000.4.0a5
6000.5.0a2
Issue ID
UUM-127894
Regression
No
ProfilerRecorder does not record any ProfilerCategory.Render data when Application.targetFramerate is set
Reproduction steps:
1. Open the attached “IN-125177.zip” project
2. Open the Test Runner window (Window > General > Test Runner)
3. Select the PlayMode tab
4. Click “Run All” and wait for the tests to finish
5. Fully expand the “ProfileTest (2 tests)” tests dropdown
6. Click on and observe values under “TargetFramerateSetTest” and “TargetFramerateUnsetTest”
Expected result: Both tests record non-zero values for draw calls and vertex count
Actual result: Only the second test (“TargetFramerateUnsetTest”), where the target framerate property is unset, records any values
Reproducible with: 2023.1.0b1, 6000.0.62f1, 6000.2.13f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2
Reproducible on: Windows 11
Not reproducible on: no other environments tested
Workarounds:
- Add the following ProfilerRecorder option: ProfilerRecorderOptions.StartImmediately
- Force ProfilerDriver.enabled to True; however, this causes the editor to crash when trying to close it
Notes:
- This issue appears to specifically affect the ProfilerCategory.Render category. Running the same tests with Memory and Internal recorders works as expected
- The Test Runner script contains two tests, both of which start a ProfilerRecorder in the Render category. One test sets Application.tagetFramerate to 60 before running the recorder. The other test unsets it back to -1 (the default value) before running the recorder
- The issue also happens when profiling Play mode in the Editor via, for example, an in-scene script that starts a ProfilerRecorder
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Root Motion Node option does not revert when changing the selection and clicking "Revert" in Inspector
- VFX Graph prefabs are not fully instanced when they are instantiated via a script
- All 2026-promoted builds incorrectly display outdated copyright year © 2025 instead of © 2026
- Shadow cascades and lights flicker when using Shadowmap Sampling
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
Add comment