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
-
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
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.