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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.