Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.0f3
Issue ID
831754
Regression
No
Canvas with Screen Space Overlay camera is not null if its render mode was changed from Screen Space Camera
Steps to reproduce:
1. Open attached project "testing_canvas"
2. Open "test" scene
3. Enter play mode
-Canvas render mode is set to Screen Space - Overlay, "camera is null" is being printed out
4. Press "Screen Space - Camera" button
-Canvas render mode is changed to Screen Space - Camera, canvas.worldCamera = Camera.main, console prints out "worldCamera is not null"
5. Press "Screen Space - Overlay" button
-Canvas render mode is changed to Screen Space - Overlay, however console prints out "worldCamera is not null"
Expected behavior: Canvas.worldCamera becomes null when canvas render mode is Screen Space - Overlay
Reproduced with: 5.3.6f1, 5.4.1p1, 5.5.0b3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment