Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.6f1
2019.1.0a1
2019.2.0a1
Issue ID
1133695
Regression
No
Exception is thrown when trying to set Canvas.worldCamera to None using the UI Button's OnClick Event
How to reproduce:
1. Open the attached "TestingProject.zip" Project
2. Enter Play Mode
3. Click on the Button in the Game View
4. Observe the console
Expected Behavior: The Canvas.worldCamera is set to null (none)
Actual Behavior: The Exception is thrown and Canvas.worldCamera is still assigned
Reproducible with: 2017.4.23f1, 2018.3.8f1, 2019.1.0a6, 2019.2.0a8
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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note (2019.2.X):
low priority defect, unlikely to be resolved in the near future. Closing for now.