Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Our response to Improbable’s blog post (and why you can keep working on your SpatialOS game). Read more here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Editor and standalone random crashing

Discussion in 'Physics' started by Squize, Jan 10, 2019 at 12:34 PM.

  1. Squize


    Jul 17, 2015
    This is a really strange one.

    Since upgrading to 2018.3.0f2 I'm getting random crashes.

    The log manages to spit something out in it's final death throes

    Code (CSharp):
    1. Receiving unhandled NULL exception
    2. Obtained 26 stack frames.
    3. #0  0x00000100fa2ecb in Rigidbody::IsSleeping()
    4. #1  0x00000100f7b6a1 in PhysicsManager::Simulate(int, float)
    5. #2  0x00000100f79789 in PhysicsManager::InitializeClass()::FixedUpdatePhysicsFixedUpdateRegistrator::Forward()
    6. #3  0x00000100c947ce in ExecutePlayerLoop(NativePlayerLoopSystem*)
    7. #4  0x00000100c9483c in ExecutePlayerLoop(NativePlayerLoopSystem*)
    8. #5  0x00000100c94a18 in PlayerLoop()
    9. #6  0x000001019b9247 in PlayerLoopController::UpdateScene(bool)
    10. #7  0x000001019b3159 in PlayerLoopController::UpdateSceneIfNeeded()
    11. #8  0x000001019b10c1 in Application::TickTimer()
    12. #9  0x000001006fa68e in -[EditorApplication TickTimer]
    13. #10 0x007fff428cc646 in __NSFireTimer
    15. #12 0x007fff4053ba90 in __CFRunLoopDoTimer
    16. #13 0x007fff4053b5d0 in __CFRunLoopDoTimers
    17. #14 0x007fff4051c81b in __CFRunLoopRun
    18. #15 0x007fff4051bd48 in CFRunLoopRunSpecific
    19. #16 0x007fff3f7b2ab5 in RunCurrentEventLoopInMode
    20. #17 0x007fff3f7b27eb in ReceiveNextEventCommon
    21. #18 0x007fff3f7b2568 in _BlockUntilNextEventMatchingListInModeWithFilter
    22. #19 0x007fff3da6d363 in _DPSNextEvent
    23. #20 0x007fff3da6c102 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
    24. #21 0x007fff3da66165 in -[NSApplication run]
    25. #22 0x007fff3da558a3 in NSApplicationMain
    26. #23 0x0000010072292c in EditorMain(int, char const**)
    27. #24 0x00000100722da9 in main
    28. #25 0x007fff6d75ded9 in start
    (Sorry about the formatting, I never post here so it's all new and scary).

    I've not been able to narrow it down, it'll just randomly happen when testing my game. Also I've done the thing of changing the collision type as that was throwing errors as covered in another recent thread.

    Just for completeness I'm on macOS Mojave 10.14.2.

    A starting point to look at would be great if anyone has had anything similar.