Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
11.0.0
Issue ID
1288105
Regression
No
[SRP] Base Camera rendering to render texture takes overlay camera into account but not its Canvas
How to reproduce:
1. Open the attached project named "URPOverlayCamera" and open the SampleScene
2. Enter Playmode
3. Observe Render Texture RT in Assets folder does not contain text from canvas rendered into it
4. Exit Playmode
Expected result: Renter Texture has the Canvas and the Text rendered into it
Actual result: Render Texture does not contain text from canvas rendered into it
Reproducible with: 7.5.1(2019.4.14f1), 8.2.0(2020.1.12f1), 10.1.0(2020.2.0b10), 11.0.0(2021.1.0a3)
Workaround:
1. Remove the target texture from the Base Camera
2. Enable HookOnOverlayCamera script on OverlayCamera
3. Enter play mode
4. Inspect RT which now contains Both cameras plus the canvas
Notes:
1. Reproducible with URP and HDRP. Tested with HDRP 8.2.0
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
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
Resolution Note (fix version 12.0.0):
Fixed in 2021.2.0a16 and SRP 12.0.0