Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.8f1
2019.4
2020.1
2020.2
Issue ID
1267847
Regression
No
UI Module doesn't render Canvases when the Camera in the Scene doesn't have the MainCamera tag
How to reproduce:
1. Open the attached "1267847 repro" project
2. Open the "Without MainCamera" Scene
3. Enter Play Mode
4. Open the Profiler window from Window > Analysis > Profiler
5. Select the UI Module
6. Select the "Canvas" Object from the list in the Module details pane
Expected results: the Canvas is shown in the preview
Actual results: the preview is empty, not even the default background is rendered
Reproducible with: 2018.4.26f1, 2019.4.8f1, 2020.1.3f1, 2020.2.0a20
Notes:
-This issue doesn't reproduce with Screen Space - Camera Canvases which reference the Camera (without the MainCamera tag)
-This issue does reproduce with Screen Space - Camera Canvases which don't have a reference the Camera (without the MainCamera tag)
-The issue never reproduces if the Camera rendering the Canvas has the MainCamera tag
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
- Terrain Tree cast Realtime and Baked shadows simultaneously when "Mixed" Light mode and "Subtractive" Baked Illumination is used in Edit mode
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
Resolution Note:
We need a camera to render the objects to a preview, If none is specified we look for the "Main Camera" We dont want to create a camera for the purpose.