Search Issue Tracker
Fixed
Won't Fix in 6000.0.X
Fixed in 6000.2.X, 6000.5.0a5
Votes
3
Found in
2022.3.63f1
6000.0.51f1
6000.1.7f1
6000.2.0b5
Issue ID
UUM-108772
Regression
No
CPU frame times spike at regular intervals in the Profiler when in Play mode with VSync enabled and using DX12 API
How to reproduce:
1. Create and open a new project
2. Make sure the project is running with DX12 graphics API
3. In the toolbar, navigate to Window > Analysis > Profiler
4. Attach the profiler so that both Game view and Profiler window can be observed
5. In the Game view, expand the Aspect Ratio menu and enable “VSync (Game view only)”
6. Enter Play mode
7. Observe the Profiler window
Expected result: CPU frame times stable, no spikes in frame times (~16.7ms for 60Hz monitor)
Actual result: CPU frame times stable, with spikes to ~33ms at regular intervals
Reproducible with: 2022.3.2f1, 2022.3.63f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5
Couldn’t test with: 2022.1.0a1, 2022.3.1f1 (VSync with DX12 does not work)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Does not reproduce with DX11 API
- When looking at the stats window, frame rate is unaffected
- Does not reproduce if the Profiler is recording and the window is hidden
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This will be fixed in 6000.5.0a5
Resolution Note (fix version 6000.5.0a5):
Fixed in 6000.5.0a5
Resolution Note (fix version 6000.2):
This will be fixed in 6000.5.0a5
Resolution Note (6000.0.X):
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to backport the fix for this bug. There are a number of reasons we make this decision and one of the main reason is the impact of the fix to the profiler stability.
Today we will be closing this case for the 6000.0 Unity version. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.