Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.5.0b7
Issue ID
841296
Regression
Yes
[iOS] 'Non matching Profiler.EndSample (BeginSample and EndSample count must match)' error when profiling code on iOS
BeginSample method implementation is missing on iOS builds, this results in Profiler failing to profile on iOS - 'Non matching Profiler.EndSample (BeginSample and EndSample count must match)' errors are thrown in Xcode console. BeginSample method in Classes/Native/Bulk_UnityEngine_0.cpp is empty, however, EndSample is not.
Steps to reproduce:
1) Open the attached project.
2) Build a Developmental iOS build.
3) Run on a device.
4) In Unity, open Window > Profiler.
5) Select the connected iOS device as Active Profiler target.
In Xcode console, errors show up:
Non matching Profiler.EndSample (BeginSample and EndSample count must match)
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Profiler/PerThreadProfiler.cpp Line: 293)
The profiling process does not start. This happens with Mono2x and IL2cpp. Disabling Engine Code Stripping does not help as well.
Reproduced on:
5.5.0b8, 5.5.0b4
Did not reproduce:
5.5.0b3
Comments (4)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Apoll0
Mar 16, 2017 18:10
5.5.2f1 still exists
Maf
Dec 14, 2016 13:17
+1 getting this in 5.5.0f3
Just the occasional one or two, not getting flooded
Not even got the profiler active, in a relatively clean project (<2 weeks old)
Studiomaurer
Dec 11, 2016 00:19
NOT FIXED! Still getting flooded with these in 5.5.0f3
Also when profiling for Android.
VetalPav
Dec 09, 2016 23:27
5.5.0f3 not fixed