Search Issue Tracker
Won't Fix
Won't Fix in 2021.3.X
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)
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
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- "DebugAllocatorMode" option changes when changed in another Editor instance
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
Resolution Note (2021.3.X):
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