This version of Unity is unsupported.

UnsafeUtility.Malloc(ulong,int,Allocator)

Parameters

size Size.
alignment Alignment.
allocator Allocator.

Returns

void Memory pointer.

Description

Allocate memory.

Note: The memory allocated is not initialized to zero. To release the memory, use UnsafeUtility.Free.