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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
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.