Search Unity

  1. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

What are the differences between EntityCommandBufferSystem classes?

Discussion in 'Data Oriented Technology Stack' started by velenrendlich, Feb 26, 2020.

  1. velenrendlich

    velenrendlich

    Joined:
    Jan 22, 2018
    Posts:
    71
    BeginInitializationEntityCommandBufferSystem
    BeginPresentationEntityCommandBufferSystem
    BeginSimulationEntityCommandBufferSystem
    EndInitializationEntityCommandBufferSystem
    EndSimulationEntityCommandBufferSystem

    How do I know which system to use to get a EntityCommandBuffer? Also there is PostUpdateCommands to use on ComponentSystems which seems to get destroyed after OnUpdate(). Do I ever need those systems when I can use PostUpdateCommands.

    As a second question, how do I know if I need to use EntityCommandBuffer or EntityCommandBuffer.Concurrent?
     
  2. siggigg

    siggigg

    Joined:
    Apr 11, 2018
    Posts:
    247
unityunity