Search Issue Tracker

Fixed in 4.6.X

Votes

0

Found in

4.6.0b11

Issue ID

615861

Regression

No

Instantiating uGUI prefab that has position 0,0,0 breaks it's children

UI

-

To reproduce:
1. Open repro package
2. Open scene test. It contains a button, that when pressed, will instantiate a prefab. The prefab is made out of a parent text and a child image. The position of the text is set to 0,0,0 while the child image is set to something other than 0 (meaning it should appear somewhere else than the text)
3. Enter play mode
4. Click the button - notice that the text is bundled up in the same place as the image
5. Leave play mode
6. Change the parent prefab's position to something other than 0,0,0 (like 1,0,0)
7. Enter play mode, press the button - the image child is not correctly separated from the text

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.