Search Issue Tracker
Duplicate
Votes
0
Found in
2018.3.0a5
2018.3.2f1
Issue ID
1120090
Regression
Yes
[UI] Child of Canvas is corrupted when Main Camera size is set to 0 in the editor
To reproduce:
1. Create a new project
2. Create Canvas and add a cube to it
3. Set "Render Mode" in Canvas to "Screen Space - Camera"
4. In the Canvas set "Render Camera" to "Main Camera"
5. In Main Camera set "Projection" to "Orthographic"
6. Set size of "Main Camera" to 0
7. Notice that it corrupts all children of Canvas
8. Try to CTRL-Z, it doesn't bring corrupted children back
Actual result: The Cube is no more visible even if you bring main camera size to 5
Expected result: It should become visible after Main camera set to more than 0 or by using CTRL-Z
Reproduced in: 2018.3.0a5; 2018.3.5f1; 2019.1.0b2; 2019.2.0a4
Not reproducible: 2017.4.20f1; 2018.2.20f1
Can't test on 2018.3.0a4 or lower because there is no UI choice in the Editor
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
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
This is a duplicate of issue #1121834