Search Issue Tracker

Fixed

Votes

0

Found in

5.5.3p2

Issue ID

907057

Regression

No

Object with attached MeshRenderer and Material components allow CustomEditor script to be redone infinite amount of times

Graphics - General

-

To reproduce:
1. Open attached Unity project "ResetEditor.zip"
2. Open scene "Scene"
3. Click on ObjectBug in the Hierarchy
4. Press ctrl+y (redo) on the keyboard

Expected result: nothing should change, ctrl+y (redo) can only be used once for every use of ctrl+z (undo) before it.
Actual result: ctrl+y (redo) can be used indefinetely and it just keeps redoing "MonoBehaviourScriptEditor" script (see Console messages)

Reproduced on: 5.5.0f3, 5.5.3f1, 5.5.3p1, 5.5.3p2
Not reproduced on: Any 5.6 versions, any 2017 versions.

Note: adding a material to the "ObjectNoBug" that has a Mesh Renderer component makes it reproduce the bug too.

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.