Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.3.X, 2018.1.X
Votes
0
Found in
2017.3.0b10
2017.3.0f3
Issue ID
996666
Regression
Yes
"BeginSample and EndSample count must match" error when Deep Profiling a nested Sample
To reproduce:
1. Open user's project
2. Enter Play mode
3. In Profiler window, enable Deep Profile
4. (Optional) Untick "Test Normal" on test game object to observe only nested samples throw errors
Expected: no errors are thrown
Actual: errors are thrown regarding sample mismatch
Reproduced in: 2017.3.0b10, 2017.3.1f1, 2018.1.0b6
Not reproduced in: 2017.1.3p1, 2017.2.1p3, 2017.3.0b9
Note: full error - "Non matching Profiler.EndSample (BeginSample and EndSample count must match): TestProfiler.Update()"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Main Camera rendering is being overwritten by a UI Camera when using multiple cameras with URP and the second camera's background type is set to "Uninitialized"
- VisualTreeAsset has significantly increased memory allocation size at runtime when the project is built with IL2CPP scripting backend
- NullReferenceException is logged when cancelling Shader Graph recovery of an already deleted Shader Graph
- White Edges appear during Camera movement in runtime when using FSR2 with Motion Vectors and Exposure enabled
- Lens Flare renders without occlusion when the light source is obstructed by solid objects when running on Android using OpenGL
Add comment