Search Issue Tracker
Won't Fix
Votes
2
Found in
2017.4.0f1
2018.3.0a1
2018.3.8f1
2019.1.0a1
2019.2.0a1
Issue ID
1137906
Regression
No
Camera Depth is not respected with multiple Cameras when Camera Viewport values are not default
How to reproduce:
1. Open the "Bug" Scene in the attached "CameraViewportDepthRegression.zip" Project
2. Make the "Camera 1 - bug" GameObject Active and "Camera 1 - works" GameObject Inactive
3. Observe the Game View
Expected Behavior: Based on Camera Depth fields the Green Cube is Behind the Red Cube and in front of Blue Cube
Actual Behavior: The Green Cube is behind the Blue Cube and in front of Red Cube
Reproducible with: 2017.4.24f1, 2018.3.10f1, 2019.1.0b8, 2019.2.0a9
Note: The Behavior between "Camera 1 - works" and "Camera 1 - bug" GameObjects should be very similar as one of them has Viewport parametre altered by only 0.001. However, it is completely different.
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
- "Objects are trying to be loaded during a domain backup." errors on entering Playmode
- Transform Node does not have outputs when it is created
- Changing the Default Icon does not change the executable's icon when re-building the project
- Texture is stored upside down when using Blit
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
Resolution Note:
We are currently moving away from fixing bugs in the camera stacking in the legacy rendering system. The code is fragile and fixing one bug normally introduces many more.