Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
Issue ID
1058801
Regression
No
[LWRP] A problem with using multiple camera and setting Viewport Rect.
SRP Repo: Issue #1454
When using multiple camera and setting Viewport Rect, this problem will occur.
Setup a scene like a following:
1st Camera
Depth: 0
ViewportRect: 0, 0, 0.5, 1(x,y,w,h)
2nd Camera
Depth: 1
ViewportRect: 0.5, 0, 0.5, 1
1st Canvas
RenderMode: Screen Space - Camera
Camera
Depth: 2
ClearFlags: DepthOnly
ViewportRect: 0, 0, 0.5, 1
2nd Canvas and Canvas Camera
RenderMode: Screen Space - Camera
Camera
Depth: 3
ClearFlags: DepthOnly
ViewportRect: 0.5, 0, 0.5, 1
I think, it expects that 1st camera and canvas has rendered left side of screen and 2nd staff has renderied right side of screen.
If not using LWRP gets correct result.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
Add comment