Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug OnTriggerExit not calling issue

Discussion in '2023.1 Beta' started by mark-shin, Jan 3, 2023.

  1. mark-shin

    mark-shin

    Joined:
    Apr 20, 2014
    Posts:
    13
    When the GameObject 'A' to which the collider is attached becomes inactive, OnTriggerExit is not called on the collider attached to another GameObject 'B'.

    Reproduction step
    • Put the colliders of objects A and B in an overlapping state
    • Make object A inactive. => OnTriggerExit is not called in B (Bug)
    • Make object A active again. => OnTriigerEnter is called in B
    • Make collider disable in A => OnTriggerExit is not called in B (Bug)

    Unity Version
    2023.1.0a24