Search Issue Tracker
By Design
Votes
0
Found in [Package]
12.0.0
Issue ID
1314197
Regression
No
[URP] [iOS] Background is always cleared when multiple Cameras are present to render different layers
Reproduction steps:
1. Open project attached in "URP.zip"
2. Open SampleScene and enter Play Mode
3. Inspect Game view, note that the Scene and a button are visible
4. Build for iOS and deploy the application
5. Inspect the game
Expected result: the Scene and the button are visible
Actual result: only the button is visible
Reproducible with: 7.3.1 (2019.4.21f1), 7.5.3 (2019.4.21f1), 10.3.1 (2020.2.6f1), 11.0.0 (2021.1.0b8) 12.0.0 (2021.2.0a4)
Could not test with 2018.4 because multiple Cameras are not supported
Devices tested:
VLNQA00286, Meizu - (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
iPhone 12 (iOS 14.1)
Note: to reproduce this on Template, add a new Camera and set its Culling mask to UI, set background type to Uininitialized, on the Main Camera remove UI from the Culling Mask
Comments (1)
-
emrearsay
Mar 02, 2022 10:34
Dear geniuses,
if clearing the background was expected behavior on mobile then change it in the editor as well.
Thnks.
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
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Resolution Note:
By design: Both cameras in the scene have their RenderType set to "base". When camera stacking is desired, only one camera should have "base" type, other cameras should have "Overlay" type for correct behaviour.