Unity ECS

「We went completely nuts, and code the engine again from the ground up.」...or so the Unity CTO said on stage. Are you up for the new challenge?
Minimum main thread block with Async overload
Unity ECS

Minimum main thread block with Async overload

There are 3 interesting methods on EntityQuery that has an overload with out JobHandle : public NativeArray CreateArchetypeChunkArray(Allocator allocator); public NativeArray CreateArchetypeChunkArrayAsync(Allocator allocator, out JobHandle jobhandle); public NativeArray ToComponentDataArray(Allocator allocator) where T : struct, IComponentData; public NativeArray ToComponentDataArrayAsync(Allocator allocator, out JobHandle jobhandle)
4 min read