Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2021.1.X
Votes
1
Found in
2019.4.26f1
2020.3
2021.1
2021.1.6f1
2021.2
Issue ID
1340327
Regression
Yes
Canvas with Target Display set to Display 2 is not rendered when there is no Camera with Target Display set to Display 2
How to reproduce:
1. Open the attached "MultipleDisplay.zip" project
2. Open the "SampleScene" Scene
3. Go to File -> Build And Run
4. Observe the application on the second monitor
Expected result: UI Image is visible on the second monitor
Actual result: Black screen on the second monitor
Reproducible with: 2019.4.26f1, 2019.4.28f1, 2020.3.12f1, 2021.1.10f1, 2021.2.0a19
Not reproducible with: 2018.4.35f1, 2019.4.25f1
-
PiotrekCiop
Jun 08, 2021 07:10
I can confirm this issue exists on 2019.4.27f1 too. Gave us quite the headache to figure it out.
We temporarily fixed it with a workaround: Add a dummy camera, set targetDisplay on it to target monitor, set cullingMask to 0 to make the camera render nothing.
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
- Tilemap.SetTile() does not change the tiles when called from Update() in the Player
- Custom Shader Material is pink when the project is built for the WebGL platform
- New 3D URP Sample Scenes Project is created with an invalid dependency on com.unity.render-pipelines.universal-config when creating the Sample Project for the first time
- Canvas Scaler causes abnormal scaling of Canvas elements in Play Mode when UI Scale Mode is set to "Constant Physical Size" and any Editor window is moved to a differently scaled monitor and is interacted with
- Touch.rawPosition always returns (0,0) when clicking or dragging anywhere on the screen in the Play Mode
Resolution Note (fix version 2021.2):
Fixed in: 2022.1.0a2
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b5
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.16f1