Search Issue Tracker

Fixed

Votes

0

Found in [Package]

7.1.7, 7.1.6

Issue ID

1213426

Regression

No

[HDRP] "Generating diff of this object for undo because the type tree changed" error on changing the order of "Custom Passes"

Package: SRP HD Template

-

On changing the order of "Custom Passes" from "Custom Pass Volume" component causes the editor to throw below error:
"Generating diff of this object for undo because the type tree changed.
This happens if you have used Undo.RecordObject when changing the script property"
Please use Undo.RegisterCompleteObjectUndo"

Steps to repro:
1. Create a new project with HDRP Template
2. Hierarchy > Create > Volume > Custome Pass
3. Create preset of "Custom Pass Volume (Script)"
4. Add Custom Passes in the list
5. Change the order of Custom Passes

Actual Result:
Error is thrown on changing the order of "Custom Passes"

Expected Result:
Order of "Custome Passes" is changed without any error

Note: "Custom Pass" is introduced in package version 7.1.6

Reproducible on:
2020.1.0a20, 2019.3.0f6 with package version 7.1.7, 7.1.6

Environment:
Windows 10 & macOS 10.14

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.