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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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