Search Issue Tracker
Fixed
Votes
5
Found in
6000.0.59f1
6000.2.8f1
6000.3.0b5
6000.4.0a2
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.47f1, 6000.0.59f1, 6000.2.8f1, 6000.3.0b5, 6000.4.0a2
Not reproducible in: 2022.3.63f1, 6000.0.46f1
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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-104383