Search Issue Tracker
By Design
Votes
1
Found in
2017.4
2018.4.19f1
2020.2
Issue ID
1241828
Regression
No
Object is rendered behind a background camera when primary Camera.targetTexture gets set to null
How to reproduce:
1. Open user's attached "CameraRenderProblem" project
2. Open "SampleScene" Scene
3. Enter Play Mode
Expected result: Cube is rendered in front of the image
Actual result: Cube is rendered behind the image
Reproducible with: 2017.4.40f1, 2018.4.22f1, 2019.3.12f1, 2020.1.0b7, 2020.2.0a9
Note: "MainCamera" depth has to be lower than "BackgroundCamera"
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
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Resolution Note (2020.2.X):
In user's original repro project, user have to disable HDR & MSAA checkboxes on both MainCamera and BackgroundCamera, and then the cube will render in front of the image correctly.