Search Unity

  1. Unity 2019.4 has been released.
    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
  3. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Havok crashing on terrain collider

Discussion in 'DOTS Physics' started by snacktime, Jun 30, 2020 at 9:35 PM.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    2,830
    This is what showed up in the editor log. Terrain colliders just not implemented yet?

    Info: Collide\Shape\hknpShapeNullFunctions.cpp(203): [0x249DE87E] Assert: in 'hknpShapeNullFunctions::queryAabb', condition: ''. Function 'queryAabb' is not implemented for USER_4 shape type. Please initialize shape dispatch table by calling hknpShapeFunctions::initialize(). Or if the shape type is a custom shape, implement this function for the type and set it to the dispatch table.
     
  2. petarmHavok

    petarmHavok

    Joined:
    Nov 20, 2018
    Posts:
    162
    Ah, I assume this started appearing in latest release? Is your terrain collider a part of the compound collider?
     
  3. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    2,830
    0.4.0 and haven't used havok before that so can't say if it's new with that release.

    We do create multiple but we don't create any compounds they are all left separate.
     
  4. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    2,830
    Also collision method is Triangles if that matters.
     
  5. petarmHavok

    petarmHavok

    Joined:
    Nov 20, 2018
    Posts:
    162
    I'll check, but can you try vertex samples in the meantime as the collision method? It sounds like we broke triangles and might need a patch release for this. I'll get back to you.
     
  6. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    2,830
    Ya VertexSamples and no crash.
     
  7. petarmHavok

    petarmHavok

    Joined:
    Nov 20, 2018
    Posts:
    162
    Please use that until the next patch release if that's ok for you, I'll fix it right now so it should be relatively soon...
     
unityunity