Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X



Found in



Issue ID




[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

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a14

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.4f1.4001

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.