Search Issue Tracker
Fixed
Votes
5
Found in
6000.0.50f1
6000.1.6f1
6000.2.0b5
Issue ID
UUM-108779
Regression
Yes
"Trying to draw gizmos while inside a renderpass" error message is thrown when Scene View Gizmos are enabled
Steps to reproduce:
1. Open the attached “Repro.zip“ project
2. Open the “_Menu” Scene
3. Open the Scene View
4. In the top-right corner, enable Gizmos
6. Do anything in the Scene View
7. Observe the Console Window
Expected result: No error messages and Gizmos are rendered
Actual result: “Trying to draw gizmos while inside a renderpass.” error is thrown and Gizmos are not rendered
Reproducible in: 6000.0.50f1, 6000.1.0b15, 6000.1.6f1, 6000.2.0b5
Not reproducible in: 2022.3.63f1, 6000.1.0b14
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: Not reproducible on a new project
Error message:
Trying to draw gizmos while inside a renderpass. This is not supported, gizmo drawing will be skipped.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Comments (2)
-
themandrakg
Jun 14, 2025 04:51
Found a workaround for my case:
What caused the bug: Updating unity engine did not update URP and caused the URP to become incompatible with new unity version.
why the URP refused to update? i have no idea.
workaround:
1 - go to .\unity\*your project dir*\Packages and make sure that those 3 packages are not listed there:
-> com.unity.render-pipelines.core
-> com.unity.render-pipelines.universal
-> com.unity.shadergraphif they are listed under this directory, it means you made a local override of URP. You will need to manually rewrite your override in the new version.
once you made a backup of those files, remove them.
2 - close your IDE, close unity.
3 - .\unity\*your project dir*\Library\PackageCache and delete those:-> com.unity.render-pipelines.core
-> com.unity.render-pipelines.universal
-> com.unity.shadergraphrestart unity and it will be forced to redownload URP to the lastest version.
-
themandrakg
Jun 13, 2025 21:34
having the same problem:
source: UniversalRenderPipelne.CS Line 887:
"
context.Submit(); // Actually execute the commands that we previously sent to the ScriptableRenderContext context
"
Being caused by gizmo calls from ScriptableRenderContext.CSUSING: Unity 6000.051f1
Worth of note:
-> No default camera gizmo gets rendered.
-> Can be ignored as long as gizmo's are off in scene view
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-104383