Search Issue Tracker
Fixed
Fixed in 6000.6.0a3
Votes
0
Found in
6000.5.0b1
6000.6.0a2
Issue ID
UUM-137378
Regression
Yes
[HDRP] Screen Space Lens Flare full screen debug mode breaks Render Graph execution
Steps to reproduce:
1. Create a new HDRP project
2. In the Hierarchy Select the Sky and Fog Volume
3. In the Inspector, scroll down to Add Override and add Screen Space Lens Flare
4. Enable the Intensity property and make it 10+
5. Go Window -> Analysis -> Rendering Debugger -> Rendering -> Rendering Debug -> Fullscreen Debug Mode and select LensFlareScreenSpace
6. Observe the Game View and the Console
Actual results: Game View turns black, and there are errors in the Console
Expected results: Game View has the LensFlareScreenSpace applied, no errors in console
Reproducible with versions: 6000.2.0a6, 6000.5.0b1
Not reproducible with versions: 6000.2.0a5
Tested on: MacOS M4 26.3
Notes:
RenderGraph goes into execution error loop, in playmode, using runtime debug mode, it completely locks out of player input making it impossible to get rid off the error.
Reproduces both in Editor and built Player
Top of the stack:
{code:java}
InvalidOperationException: [AddUnsafePass] This API cannot be called when Render Graph records a pass. Call the API within SetRenderFunc() or outside of AddUnsafePass()/AddComputePass()/AddRasterRenderPass().
UnityEngine.Rendering.RenderGraphModule.RenderGraph.CheckNotUsedWhenRecordingPass () (at ./Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/RenderGraph/RenderGraph.cs:1007)
UnityEngine.Rendering.RenderGraphModule.RenderGraph.AddUnsafePass[PassData] (System.String passName, PassData& passData, UnityEngine.Rendering.ProfilingSampler sampler, System.String file, System.Int32 line) (at ./Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/RenderGraph/RenderGraph.cs:1182)
UnityEngine.Rendering.RenderGraphModule.RenderGraph.AddUnsafePass[PassData] (System.String passName, PassData& passData, System.String file, System.Int32 line) (at ./Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/RenderGraph/RenderGraph.cs:1157){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
- Package Manager's Filter Panel does not show borders when viewed on Windows
- Blend Tree Threshold fields accepts NaN/Infinity values causing Node backgrounds disappear in Animator Controller view
- Port keyboard selection sync improvements from legacy UGUI InputField to TMP_InputField
- Animator Controller Layer Weight field accepts “NaN” as a valid value instead of rejecting it
- Package Manager redirection buttons are changed to "Checkmarks" after installing additional Packages in the Multiplayer Center
Resolution Note:
Fixed in 6000.6.0a3
Resolution Note (fix version 6000.6.0a3):
Fixed in 6000.6.0a3