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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment