Search Unity

Physics Crashes - ConvexMeshRuntime::ProjectHull

Discussion in 'Physics' started by Chris_TerraTech, Feb 10, 2015.

  1. Chris_TerraTech

    Chris_TerraTech

    Joined:
    Sep 16, 2014
    Posts:
    30
    Hi, we're getting crashes in Unity Code that we can't quite debug where they're coming from.

    We get it more frequently on Mac than on PC (almost every 5-10 miniutes on Mac).

    It occurs both in the player and in the editor and we get the following callstack:

    Receiving unhandled NULL exception

    ConvexMeshRuntime::projectHull(NPhaseContext&, float&, float&, IceMaths::point const&, IceMaths::Matrix4x4 const&) const
    non-virtual thunk to ConvexMeshRuntime::projectHull(NPhaseContext&, float&, float&, IceMaths::point const&, IceMaths::Matrix4x4 const&) const
    TestSepAxis(NPhaseContext&, IceMaths::point const&, ConvexMeshInterface const&, ConvexMeshInterface const&, IceMaths::Matrix4x4 const&, IceMaths::Matrix4x4 const&, float*)
    contactHullHull(Shape const*, Shape const*, ConvexMeshInterface const*, ConvexMeshInterface const*, ClosestPolygonMap const*, ClosestPolygonMap const*, IceMaths::Matrix4x4 const&, IceMaths::Matrix4x4 const&, NPhaseContext&)
    triggerConvexConvex(Shape const*, Shape const*, TriggerCache&, NPhaseContext&)
    CollisionMap::findTriggerContacts(Shape const*, Shape const*, TriggerInteraction&, NPhaseContext&) const
    NPhaseCore::findTriggerContacts(TriggerInteraction*, NPhaseContext&)
    NPhaseCore::narrowPhase()
    Scene::runSubstep()
    Scene::simulate(unsigned int, unsigned int)
    NpScene::executeScene()
    PhysicsManager::FixedUpdate()
    PhysicsManager::InitializeClass()::physicsFixedUpdate::Forward()

    Any help would be greatly appreciated,
    Chris
     
  2. Chris_TerraTech

    Chris_TerraTech

    Joined:
    Sep 16, 2014
    Posts:
    30