#Error "Reflection data was not set up" on a non-generic job.

1 messages · Page 1 of 1 (latest)

pine lily
#

Where job is being called:

public JobHandle ToDeferredUnsafeArrayReference(Allocator allocator, out UnsafeArrayWrapper<T> outputArray, JobHandle dependency = default)
{
    UnsafeArrayWrapperUntyped outputArrayUntyped = new(Allocator.TempJob);
    outputArray = outputArrayUntyped.AsUnsafeArrayWrapperWithType<T>();
    JobHandle outputJob = new CombineDataJob {
        Lists = Data,
        BufferCount = BufferCount,
        TypeSize = UnsafeUtility.SizeOf<T>(),
        TypeAlign = UnsafeUtility.AlignOf<T>(),
        OutputArray = outputArrayUntyped,
        Allocator = allocator,
    }.Schedule(dependency);
    return outputJob;
}