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.
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 ()
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 10.1.1 or 10.2.0):
Fixed i Package Version: 10.2.0.