Search Issue Tracker
Won't Fix
Votes
0
Found in
2023.3.0a8
2023.3.0a17
Issue ID
UUM-57784
Regression
No
Missing Profiler.EndSample error thrown when selecting "Add Component" in Scene view Contextual Menu and profiling in Edit Mode
How to reproduce:
1. Create a new Unity project
2. Open Profiler window
3. Set Profiler to Edit Mode
4. Go back to Editor and select Directional Light in Hierarchy window
5. Right-click in Scene view and select "Add Component..."
6. Observe the Console window
Expected result: No errors in the Console window are thrown
Actual result: Errors are thrown in the Console window
Reproducible with: 2023.3.0a8, 2023.3.0a17
Could not test with: 2023.3.0a7 (Contextual Menu in Scene view not available)
Reproduced on: Windows 10, MacBook Pro Sonoma 14.1.1 (Apple M1 Max)
Notes:
Errors on windows 10:
{code:java}
Missing Profiler.EndSample (Every BeginSample call must have a subsequent EndSample call within the same frame): UIR.DrawChain
Previous 5 samples:
Semaphore.WaitForSignal
Gfx.WaitForGfxCommandsFromMainThread
Semaphore.WaitForSignal
Gfx.WaitForGfxCommandsFromMainThread
Semaphore.WaitForSignal
In the scope:
UIR.DrawChain
RenderLoop
<Root>
{code}
Errors on Mac:
{code:java}
Assertion failed on expression: '!m_InsideContext'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
{code}
{code:java}
GUI Window tried to begin rendering while something else had not finished rendering! Either you have a recursive OnGUI rendering, or the previous OnGUI did not clean up properly.
{code}
{code:java}
InvalidOperationException: Stack empty.
System.Collections.Generic.Stack`1[T].Peek () (at <12f25dc5ebd2451195dc813086a758c0>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRenderer/UIRenderers.cs:174)
{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
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note:
Closing this bug as the new Contextual Menu feature was removed from the reported Unity version.