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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.