Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Feature Request Collider mutable data should be separate

Discussion in 'DOTS Physics' started by snacktime, Nov 4, 2021.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,325
    Our specific use case is a worst case, but I can see a lot of lesser cases that are still a pain. Ours is vertically scaling server side, large maps with terrain colliders. Small base set instanced several hundred times with each map instance needing it's own group.. So ya that's several hundred GB extra ram chewed up with cloning.

    Really colliders have data that is both mutable and immutable by design. Packing both into a single blob doesn't really fit well. But not sure what the simplest approach to solving it is.

    Both filter and material are properties on the colllider, so that's one angle. Redirect it to say an external blob asset. Havok wouldn't work of course.
     
unityunity