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.
Comments (1)
-
elena7
May 10, 2019 02:34
Can someone in Unity please look into this problem???
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
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
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.