Search Issue Tracker

By Design

Votes

0

Found in

2021.3.37f1

2022.3.25f1

Issue ID

UUM-70555

Regression

No

[Mobile] Only second base Camera out of two base Cameras with priority 1 and -1 is rendered in the Player

--

-

How to reproduce:
1. Open the “IN_73547” project
2. In the Build Settings make sure the Android Platform is selected
3. In the “Run Device” dropdown, select the desired device
4. Press Build And Run
5. Observe the Player

Expected result: Both cameras are rendered
Actual result: Only one Camera is rendered

Reproducible with: 2021.3.37f1, 2022.3.25f1, 2023.1.19f1
Not reproducible with: 2023.2.19f1, 6000.0.0b15
Fixed in: 2023.1.20f1

Testing environment: Windows 10 Pro
Not reproducible on: No other environment tested

Reproducible on these devices:
VLNQA00267, Samsung Galaxy S10+ (SM-G975F), Android 12, CPU: Exynos 9 (9820), GPU: Mali-G76
VLNQA00120, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00178, Xiaomi Redmi Note 4 (Redmi Note 4), Android 6.0, CPU: MediaTek Helio X20 MT6797M, GPU: Mali-T880
VLNQA00357: Iphone 12 Mini

Notes:
- Not reproducible on Windows Standalone Platform
The user mentioned this issue is not reproducible in the Editor but I can reproduce this issue in the editor (the reproduced issue in the Play Mode looks slightly different compared to Android or iOS Build and affects different versions)
- Also reproducible on the iOS Platform
- Reproducible on both Vulkan and OpenGLES graphics API

  1. Resolution Note:

    The reason the second camera is not visible is because Camera Stacking is configured incorrectly. If one camera should be rendered on top of another, the top camera has to be configured as "overlay", and added to the bottom camera's camera stack. Setting the background to "Uninitialized" may sometimes work on some platforms, but there is not guarantee. Uninitialized means uninitialized, and no assumptions should be made about what data will be shown in areas that are not rendered to. Please refer to the docs for more information: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@17.0/manual/camera-stacking.html

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.