Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.6f1

Issue ID

UUM-8252

Regression

No

[URP] Scene flickers when Scriptable Render Feature copying texture with compute shader is used

--

-

Reproduction steps:

# Open the user’s attached project
# Open the SampleScene.unity Scene located in the /Assets/Scenes folder
# Click on the Game View or drag the cursor over other Editor windows
# Observe the flickering in the Game view

Expected result: the Game view doesn’t flicker
Actual result: the Game view flickers

Reproducible with: 10.9.0 (2020.3.36f1), 12.1.7 (2021.3.6f1)
Could not test with: 13.1.8 (2022.1.8f1), 14.0.3 (2022.2.0b1), 15.0.0 (2023.1.0a3) - Game/Scene window bars are missing, console error:
”You can only call cameraColorTarget inside the scope of a ScriptableRenderPass. Otherwise the pipeline camera target texture might have not been created or might have already been disposed.”
UnityEngine.Rendering.Universal.ScriptableRenderer:get_cameraColorTarget ()

Reproducible on: Windows 10 (21H2)

  1. Resolution Note:

    The warning ”You can only call cameraColorTarget inside the scope of a ScriptableRenderPass. Otherwise the pipeline camera target texture might have not been created or might have already been disposed.” highlights that the cameraColorTarget is being called outside rendering execution.

    This property should be accessed withing ScriptableRenderPass::Execute

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.