keenanwoodall / Deform

A fully-featured deformer system for Unity that lets you stack effects to animate models in real-time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CurveDisplaceDeformer exception

keenanwoodall opened this issue · comments

From email:

encountered an error message that pops up using a CurveDisplaceDeformer - whenever I set bool „update“ to true for the CurveDisplaceDeformer (I need to do this to animate a curve to create a wobbling effect on a mesh).
Error message:

InvalidOperationException: The previously scheduled job CurveDisplaceDeformer:CurveDisplaceJob reads from the NativeArray CurveDisplaceJob.curve.values. You must call JobHandle.Complete() on the job CurveDisplaceDeformer:CurveDisplaceJob, before you can write to the NativeArray safely. Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckWriteAndThrowNoEarlyOut (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) <0x1616d6a50 + 0x00052> in <8e7d02add6194b408e2236c0adf51cdd>:0