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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment