Search Issue Tracker

Fixed

Votes

0

Found in

5.5.0p4

Issue ID

873836

Regression

No

Instantiate<T>(Object, Transform) still uses world space by default

Scripting

-

Reproduction steps:
1. Open project attached (InstantiateBug).
2. Open scene "Scene"
3. Press Play.
4. Check gameobject "Parent" children's position.

Expected result: Children will have identical position.
Actual result: Children have different position.

Notes: Instantiate(Object, Transform) function started using local position by default in 5.5: "Using Object.Instantiate(Object, Transform) will now use the Object position as the local position by default."
Instantiate<T>(Object, Transform) was not affected by these changes. Due to that, those functions work differently.

Reproduced on: 5.5.0f3, 5.5.1f1, 5.6.0b5

Comments (2)

  1. 921879ce82ea9f4a44c4dfa79b5e1962?d=mm

    Gianvy

    Apr 12, 2017 20:09

    The problem persists in the version 5.6.0f3

  2. B8b9ee84c25ac62d295a9aef91d94e14?d=mm

    marf

    Apr 12, 2017 20:05

    Same problem here!

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.