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