Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

PhysX Crash in PxsCCDAdvanceTask::runInternal

Discussion in 'Physics' started by josh_s_dev, Feb 24, 2017.

  1. josh_s_dev

    josh_s_dev

    Joined:
    Oct 20, 2015
    Posts:
    15
    I'm running Unity 5.4.4f1 and I got a crash when running my game and this was the crash log:

    0x013C0728 (GAME) [c:\buildslave\physx\build\source\foundation\include\pssortinternals.h:98] physx::shdfnd::internal::partition<physx::pxsCCDPair *,physx::ToiPtrCompare const >
    0x013C138B (GAME) [c:\buildslave\physx\build\source\foundation\include\pssort.h:86] physx::shdfnd::sort<physx::pxsCCDPair *,physx::ToiPtrCompare,physx::shdfnd::ReflectionAllocator<physx::pxsCCDPair *> >
    0x013C16E3 (GAME) [c:\buildslave\physx\build\source\lowlevel\software\src\pxsccd.cpp:1012] physx::pxsCCDAdvanceTask::runInternal
    0x012F4C9E (GAME) [c:\buildslave\physx\build\source\common\src\cmtask.h:80] physx::Cm::Task::run
    0x00C39900 (GAME) [c:\buildslave\unity\build\runtime\dynamics\physicsmanager.cpp:347] PhysxJobFunc
    0x0097683B (GAME) [c:\buildslave\unity\build\runtime\jobs\internal\jobqueue.cpp:376] JobQueue::Exec
    0x00976A51 (GAME) [c:\buildslave\unity\build\runtime\jobs\internal\jobqueue.cpp:790] JobQueue::processJobs
    0x00B14C0F (GAME) [c:\buildslave\unity\build\runtime\threads\thread.cpp:44] Thread::RunThreadWrapper
    0x77AB62C4 (KERNEL32) BaseThreadInitThunk
    0x77BE0FD9 (ntdll) RtlSubscribeWnfStateChangeNotification

    A crash inside the physics job when sorting internal physics objects? It's strange and rare. The game is large and complex so I don't really know where to start looking for what could be the culprit. Has anyone else come across this crash?