Search Issue Tracker
By Design
Votes
4
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.3.0a1
2019.3.0a12
2020.1.0a1
Issue ID
1178462
Regression
No
Canvas prefab elements are shown differently in Scene and Prefab Editor when Canvas Scaler is set to "Scale With Screen"
How to reproduce:
1. Open attached project "PrefabMode_694618.zip" and scene "Sample_2"
2. In Hierarchy window, Open "Canvas" -> "Root" -> "Top" -> "TopBar" prefab editing (the same with "Middle" and "BottomBar")
3. Compare the TopBar UI in the scene and in the Prefab Editor
Expected result: the UI between scene and prefab editor looks the same
Actual result: the UI in prefab editor scale/aspect ratio is incorrect
Reproducible with: 2018.4.8f1, 2019.2.3f1, 2019.3.0b1, 2020.1.0a1
Could not test with: 2017.4 due to older prefab system
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
- HDRP Light shadows switch Type from Soft to Hard after re-enabling the Shadow Map option
- [AI Assistant] Banner content is clipped and inaccessible when Assistant window is docked or narrow
- Crash on CheckDeviceStatus when opening a UI Panel in Play mode on a specific project
- Redundant Warning message is thrown when multi selecting Package Manifest files in the Project Window
- Point light Cookie texture is rendered incorrectly with Deferred renderer path when used together with multiple Directional lights
Resolution Note (2020.1.X):
For UI Prefabs that are set to stretch based on parent size, it's expected they will have a different size in Prefab Mode in isolation that they have in the scene, since they are under a parent with a different size in Prefab Mode compared to whatever parent they are under in the scene.
In 2020.1 the Prefab Mode in Context feature will address this to have UI Prefabs look the same in Prefab Mode in Context as they do in the scene.