Search Issue Tracker

Fixed in 10.1.1 or 10.2.0

Votes

0

Found in [Package]

10.0.0-preview.27

Issue ID

1274790

Regression

Yes

[VFX Graph] Destroy may not be called from edit mode on resetting VFX Property Binder.

Package: Visual Effect Graph

-

Destroy may not be called from edit mode on resetting VFX Property Binder after adding Audio Spectrum Property Bindings.
Unable to reset VFX Property Binder component.

Steps to repro:
1. Create a new HDRP project.
2. Hierarchy > Click on "+" > Visual Effects > Visual Effect
3. Inspector > Add Component > Audio Spectrum Binder.
4. Reset

Actual Result:
Destroy may not be called from edit mode error in the console.

Expected Result:
No errors in the console.

Reproducible in:
2020.2.0b2, 2020.2.0a20 with Package Version 10.0.0-preview.27.

Working Fine in:
2020.2.0b2, 2020.1.5f1 with Package Version 9.0.0-preview.54.

Environment:
Occurring on Windows 10 & Mac 10.15.

Stacktrace:
Destroy may not be called from edit mode! Use DestroyImmediate instead.
Destroying an object in edit mode destroys it permanently.
UnityEngine.VFX.Utility.VFXPropertyBinder:Reset ()

  1. Resolution Note (fix version 10.1.1 or 10.2.0):

    Fixed i Package Version: 10.2.0.

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.