Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2022.1.0a6
2022.1.0a8
Issue ID
1363905
Regression
Yes
[Profiler] Missing Profiler.EndSample: WaitForTargetFPS errors are thrown when profiling a dev build
Reproduction steps:
1. Create a new project
2. Open iOS Player settings and switch to Simulator SDK (Edit -> Project Settings -> Player)
3. Go File -> Build Settings
4. Switch to iOS
5. Enable Development Build and Autoconnect Profiler
6. Build and Run
7. When the game launches: in the Editor inspect the console
Expected result: There are no errors
Actual result: "Missing Profiler.EndSample (BeginSample and EndSample count must match): WaitForTargetFPS" and "Missing Profiler.EndSample (BeginSample and EndSample count must match): WaitForTargetFPS" errors are thrown every frame
Reproducible with: 2022.1.0a6, 2022.1.0a8
Not reproducible with: 2019.4.30f1, 2020.3.18f1, 2021.1.21f1, 2021.2.0b12, 2022.1.0a5
Devices tested:
iPod touch 7th gen (Simulated)
iPhone 6 (iOS 12.4.8)
iPhone 7 (iOS 12.3.1)
iPhone 12 Mini (iOS 14.1)
iPad Air 4th Gen (iOS 14.4)
Nintendo Switch
PS5
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
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a14
Resolution Note (fix version 2021.2):
Fixed in 2021.2.4f1.4001