Search Issue Tracker

Duplicate

Votes

0

Found in

4.6.0b10

Issue ID

613460

Regression

No

Instantiation of a prefab containing a rectTransform is not consistent between Editor and Runtime

UI

-

Steps to reproduce:
Create a new project. Make a script which instantiates a prefab which is comprised of Panel parent and Text child gameobjects. Then instantiated prefab should be set as a child of Canvas gameobject.
Instantiate the prefab. It will have rectTransform values invalid even though it is set to be a child of Canvas.
If Panel prefab would be drag and dropped into the scene - it would get aligned correctly.

Comments (1)

  1. Pavel Popovciuc

    Oct 02, 2014 08:17

    Issue not resolved in beta 19

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.