Search Issue Tracker
By Design
Votes
0
Found in [Package]
3.3.0
Issue ID
1101372
Regression
No
[LWRP]Second camera with 'don't clear' mode breaks if it's viewport is changed during playmode
Steps to reproduce:
1. Download and open the attached project
2. Enter Playmode
3. Change any Viewport Rec variable for object "Camera"
Expected result: that camera's viewport gets changed, but otherwise rendering continues
Actual result: camera's rendering background space is filled with black color
Reproduced on 2018.2.17f1, 2018.3.0b11, 2019.1.0a10 with LWRP, 3.3.0, 4.2.0, 5.0.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
- NullReferenceException is thrown when assigning PanelSettings asset to a UIDocument dynamically at runtime
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when disabling "Allow FSR2" parameter while in Play Mode with Direct3D12 set as graphics API
- Crash on vkGetInstanceProcAddr when setting graphics API to "Vulkan" on Fantasy Kingdom learning project
- Overlay Camera "clear depth" not working on Vulkan+Pixel8
- Shadows from Shadow Caster 2D using 2D Colliders show incorrectly when tiles are removed at runtime
Resolution Note:
LWRP doesn't support CameraClearFlags.DepthOnly or CameraClearFlags.DontClear. These settings have been removed in 19.1. These options require a readback from backbuffer or previous camera render target and that comes with hidden performance cost, especially in mobile.