Search Issue Tracker

Not Reproducible

Votes

0

Found in

4.6.0b1

Issue ID

589793

Regression

No

If I instantiate a prefab from code the positions of its children are messed up

UI

-

To reproduce:
1. Open the RepoCase scene in the attached project
2. Add the prefab RepoStuff/card_small to the hierarchy
3. See that it looks correct and is automatically moved to the lower left corner. (It was created with anchor set to middle center and position (0,0) so I would expect it to appear there)
4. Delete the instance and enter play mode
Expected result: Instantiated prefab looks the same as the one we added manually
Actual result: It's messed up

Add comment

Log in to post comment