Search Issue Tracker

Won't Fix

Votes

3

Found in

5.3.5f1

Issue ID

811025

Regression

No

Undo.RecordObject does not record undo when setting HideFlags

--

-

Steps to reproduce:

1. Open attached project
2. Open scene "TestScene"
3. In hierarchy, select "Hide Flag Test Object" game object
4. In "Hide Flag Setter" component mark "NotEditable" and with Undo Mode set to Record Object, click "Set HideFlags" button
5. Notice that object becomes not editable
6. In top menu, click Edit and notice that Undo step wasn't recorded although HideFlagSetEditor.cs script does that

Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.5p7, 5.4.0b24, 5.5.0a2

  1. Resolution Note:

    This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.

Comments (1)

  1. hedgehog90

    May 03, 2017 11:02

    I've found this behaviour in 5.6.0p2.
    Doesn't seem right.

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.