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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.