Search Unity

Bug Trigger enter/exit of Physics engine causes program crash

Discussion in 'Physics' started by L0tussss5, Jun 8, 2023.

  1. L0tussss5

    L0tussss5

    Joined:
    Jun 22, 2022
    Posts:
    14
    It seems it's accessing invalid memory for one of the trigger enter/exit colliders. Try/catch will not work, it's an internal engine crash in native code.
     

    Attached Files:

  2. L0tussss5

    L0tussss5

    Joined:
    Jun 22, 2022
    Posts:
    14
    I cannot locate which trigger it is, nor can I locate which script it is. When it crashes, it is random and crashes 2-3 times a day. Because this program is used for multiplayer game servers, I am not sure what player behavior caused the crash. Can someone help me
     
  3. L0tussss5

    L0tussss5

    Joined:
    Jun 22, 2022
    Posts:
    14
    My Unity version is 2021.3.14
     
  4. zCubed3

    zCubed3

    Joined:
    Jul 17, 2019
    Posts:
    3
    Sorry to necro, but have you found a solution to this problem? I’m currently working on a game where we make extensive use of triggers for a lot of server logic and this exact same crash has been killing our game servers consistently (I’m on Unity 2021.3.15)