Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Bug Changes to PhysicsExclude component

Discussion in 'Physics for ECS' started by optimise, Apr 23, 2022.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    1,680
    Hi @JosepMariaPujol. I would to know what is the reason behind it to deprecate PhysicsExclude component and change to PhysicsWorldIndex shared component? Currently this changes introduce extreme regression that shared component still cannot support burst compilation and will make most of my systems super slow since I need to add .WithoutBurst(). Can u on hold this decision until shared component able to support burst compilation?
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,505
    Is the issue adding PhysicsWorldIndex when you want to put them back into the simulation?

    (Bit late to put something on hold that's already shipped)
     
  3. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    1,680
    Ya. Using ecb to add/remove shared component.
     
  4. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    1,680
    @JosepMariaPujol I think at very least dun deprecate PhysicsExclude component first until PhysicsWorldIndex able to be burst compiled.