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
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
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.