Search Issue Tracker
Duplicate
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&)
-
Resolution Note:
Closing as duplicate
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-104383
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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
This is a duplicate of issue #UUM-104383