Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Deferred PhysicsWorldSingleton or SimulationSingleton ?

Discussion in 'Physics for ECS' started by DDKH, Feb 28, 2024.

  1. DDKH

    DDKH

    Joined:
    Jun 13, 2013
    Posts:
    26
    GetSingleton functions create a sync point, because we have to wait for completing all physics jobs.
    Tried to get it by EntityQuery inside a deferred array but it does not work due to nested containers.

    Is there any way to get deferred PhysicsWorld or Simulation with scheduling jobs?