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
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
- [Mono] Crash on SystemNative_ReadDirR() when building for IOS/Android on a macOS machine
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a14
Resolution Note (fix version 2021.2):
Fixed in 2021.2.4f1.4001