Search Issue Tracker

By Design

Votes

0

Found in

5.4.0f2

Issue ID

817281

Regression

No

Instantiating UI prefab through script causes rescaling

uGUI

-

Steps to reproduce:

1. Open attached project "817281.zip"
2. Open scene "repro"
3. In project tab, inspect Image prefab and notice that its scale is (1, 1, 1)
4. Run scene, this will call Intantiate(prefab, parentTransform) to instantiate prefab as child of Canvas
5. Inspect prefab and notice that scale isn't (1, 1, 1)

Reproduced with: 5.4.0f2, 5.5.0a4
5.3 didn't have Instantiate(prefab, parentTransform)

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.