public static EntityCommandBuffer GetEndSimulationECB(this SystemState state) { var system = state.World.GetExistingSystemManaged<EndSimulationEntityCommandBufferSystem>(); return system.CreateCommandBuffer(); }
This can't be bursted because of the GetExistingSystemManaged() call. How can I get the same ECB without managed calls?