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
- Audio Random Container stops looping when Time parameter is enabled
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
Add comment