Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2019.1.0b1
2019.3
2019.3.10f1
2020.1
2020.2
Issue ID
1252731
Regression
Yes
[iOS 13] Camera.AddCommandBuffer causes GPU performance regression
How to reproduce:
1. Open the attached 'DynamicResolution2019-Unity.zip'
2. Go to File > Build Settings and tick Development Build checkbox, switch platform to iOS
3. Build for iOS and open the Xcode project
4. Select Menu bar-> Product-> Scheme-> Edit Scheme
5. Set GPU Frame Capture to Metal and Metal API Validation to Enabled
6. Deploy the Xcode project to the iOS device
7. Notice that 'Command Buffer Injection' is set to 'False'
8. Press 'Capture GPU frame' button
9. Select Command Buffer in the sidebar and expand the graph folders
10. Notice that there are no fences
11. Select FPS panel in sidebar
12. Observe Utilization Tiler and Frame Time of GPU
13. Select Memory tab in sidebar and observe its usage
14. Exit GPU Frame Capture
15. Press 'Command Buffer Injection' button to set its value to 'True'
16. Press 'Capture GPU frame' button
17. Select Command Buffer in the side and expand the graph folders
18. Notice that there are fences
19. Select FPS panel in sidebar
20. Observe Utilization Tiler and Frame Time of GPU
Expected result: GPU frame time and tiler utilization values remain the same or differ insignificantly
Actual result: GPU frame time has increased, tiler utilization has decreased
Reproducible with: 2019.1.0b1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a17
Not reproducible with: 2018.4.24f1, 2019.1.0a14
Reproducible with:
- iPhone XR (iOS13.4.1)
- iPhone 6s (iOS 13.3.1)
- iPad 7th gen (iOS 13.2.2)
- iPad Pro 12.9 1st gen (iOS 13.4.1)
Notes:
- Screenshot of the test results attached in Edit
- The issue seems to reproduce when the GPU fences feature was introduced
- Reproducible on Metal; Cant test Open GL due to Replayer Termination error in Xcode
- Comparison of GPU frame time, tiler utilization of different devices are attached in Edit
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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a21
Resolution Note (fix version 2020.1):
Fixed in 2020.1.3f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.9f1