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"

uGUI

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.