crash in physicsmanager
I've been getting this crash, which I initally thought was to do with https://issuetracker.unity3d.com/issues/crash-in-physics-physicsmanager-simulate?_ga=2.87224792.1391109241.1564458200-135128914.1556601065 however I'm still getting it on the latest 2018.4 (6/7).
is there any way to prevent the Rigidbody::IsSleeping() method from causing an AV? (it is an inconsistent crash)
My crash log is this :
Date/Time: 2019-08-26 23:00:58.3540 -0700 Launch Time: 2019-08-26 22:54:27.0891 -0700 OS Version: iPhone OS 12.4 (16G77) Baseband Version: 7.80.04 Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 VM Region Info: 0 is not in any region. Bytes before following region: 4307288064 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 0000000100bc0000-0000000104068000 [ 52.7M] r-x/r-x SM=COW ...torqueburnout
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 torqueburnout 0x0000000101121204 Rigidbody::IsSleeping() + 5640708 (Rigidbody.cpp:1651) 1 torqueburnout 0x0000000101110500 PhysicsManager::Simulate(int, float) + 5571840 (PhysicsManager.cpp:772) 2 torqueburnout 0x00000001013fa8fc ExecutePlayerLoop(NativePlayerLoopSystem) + 8628476 (PlayerLoop.cpp:347) 3 torqueburnout 0x00000001013fa930 ExecutePlayerLoop(NativePlayerLoopSystem) + 8628528 (PlayerLoop.cpp:365) 4 torqueburnout 0x00000001013fab10 PlayerLoop() + 8629008 (PlayerLoop.cpp:419) 5 torqueburnout 0x00000001016d4ddc UnityPlayerLoopImpl(bool) + 11619804 (LibEntryPoint.mm:272) 6 torqueburnout 0x0000000100bcd2e4 UnityRepaint + 53988 (UnityAppController+Rendering.mm:280) 7 torqueburnout 0x0000000100bcd1c0 -[UnityAppController(Rendering) repaintDisplayLink] + 53696 (UnityAppController+Rendering.mm:72) 8 QuartzCore 0x000000019009eff0 CA::Display::DisplayLink::dispatch_items+ 73712 (unsigned long long, unsigned long long, unsigned long long) + 636 9 IOKit 0x000000018beeb4b0 IODispatchCalloutFromCFMessage + 488 10 CoreFoundation 0x000000018bbfa19c CFMachPortPerform + 188 11 CoreFoundation 0x000000018bc20da0 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56 12 CoreFoundation 0x000000018bc204ec CFRunLoopDoSource1 + 440 13 CoreFoundation 0x000000018bc1b310 __CFRunLoopRun + 2096 14 CoreFoundation 0x000000018bc1a7c0 CFRunLoopRunSpecific + 436 15 GraphicsServices 0x000000018de1b79c GSEventRunModal + 104 16 UIKitCore 0x00000001b8599c38 UIApplicationMain + 212 17 torqueburnout 0x0000000100bc4b00 main + 19200 (main.mm:41) 18 libdyld.dylib 0x000000018b6de8e0 start + 4
Your answer
Follow this Question
Related Questions
How to fix this problem? 1 Answer
Sumo Physics Bounce Question 0 Answers
Help with drift physics 0 Answers
Rotate sphere to the direction of movement 0 Answers
Predict the hit position 0 Answers