Search Issue Tracker
Fixed
Fixed in 6000.3.11f1, 6000.4.0b11, 6000.5.0a8, 6000.6.0a1
Votes
0
Found in
6000.3.0b1
6000.4.0a1
6000.5.0a1
6000.6.0a1
Issue ID
UUM-117133
Regression
Yes
Switching Platform while profiling in Edit Mode throws “Non-matching Profiler.EndSample” warnings
Steps to reproduce:
1. Create new Unity project
2. Go to Window > Analysis > Profiler
3. Change profiling mode to Edit mode and let it profile
4. Open Build Profiles window
5. While profiling, switch to iOS Profile
6. Observe the errors thrown in the Console window
Actual results: multiple “Non-matching Profiler.EndSample” errors are thrown in the Console after switching Platform while profiling in Edit Mode
Expected results: No errors should be thrown in the Console, profiler should stop profiling when switching to different platform
Reproducible with versions: 6000.3.0a1 (4592b02ab560), 6000.3.0b1
Not reproducible with versions: 6000.2.4f1 (17550c9bb584)
Tested on (OS): Windows 11, macOS Silicon, Sequoia 15.6 (M1)
Notes:
- Does not reproduce in Play Mode
{code:java}
Non-matching Profiler.EndSample (Every EndSample call must have a preceding BeginSample call within the same frame): UIElementsUtility.DoDispatch(Non Repaint Event)
Previous 5 samples:
Mono.JIT
GC.Alloc
UIElements.PickAll
UIElements.UpdateElementBounds
UIElements.UpdateLayout
In the scope:
EditorLoop
Main Thread
{code}
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
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Nothing happens when entering a converter ID to target property in the Add Binding window when a converter ID was already added and removed
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
Resolution Note:
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.5.0a8):
Fixed in 6000.5.0a8
Resolution Note (fix version 6000.4.0b11):
Fixed in 6000.4.0b11
Resolution Note (fix version 6000.3.11f1):
Fixed in 6000.3.11f1