Search Issue Tracker

Fixed in 2020.2.X

Votes

0

Found in

2018.4

2019.3.5f1

2020.2

Issue ID

1247086

Regression

No

worldPositionStays argument is missing from Unity.Undo.SetTransformParent() in comparison with Transform.SetParent()

Scripting

-

Reproduction steps:
1. Open attached project "Undo.zip"
2. In Project window, open "Test.cs"
3. Observe line 13

Expected result: Unity.Undo.SetTransformParent takes a "bool worldPositionStays = true" argument
Actual result: Unity.Undo.SetTransformParent does not take a "bool worldPositionStays = true" argument

Reproducible with: 2018.4.23f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a12

  1. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a17

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.