OnTriggerExit never called

I have an object that should change colour when OnTriggerEnter detects an object, and go back to the previous colour when it is not detected anymore. In my current code, the detection is working. But then, when the detected object is out of range, the OnTriggerExit method is never called.

void OnTriggerEnter(Collider other)
{
    Debug.Log("Trigger IN: " + other.gameObject.name);
    uav.GetComponent<Renderer>().material.color = uavColorDetection;
}

void OnTriggerExit(Collider other)
{
    Debug.Log("Trigger OUT: " + other.gameObject.name);
    uav.GetComponent<Renderer>().material.color = uavColorNormal;
}

void OnTriggerStay(Collider other)
{
    Debug.Log("Trigger STAY: " + other.gameObject.name);
}

The method _Stay is also working well, the log is displayed when the object is detected, and once it is outside the log stops, but the one from _Exit is never printed.

In most of the posts, I found about a problem with the OnTriggerExit method, are when the detected object is destroyed. But in my case, nothing is destroyed. I just moved the GameObject to another.

Is there something specific to do to activate the exit function?

Can you please share log or console details screenshot?
For sure, when objects enter and exit, there will be some null pointers, or something disabling collider components, that’s also happens with null pointers too.

Here is the log form the Editor file (even if the detection was short, the Stay produces a lot of logs):

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)

Trigger IN: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerEnter (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:77)

(Filename: Assets/Scenes/UAV.cs Line: 77)

Trigger STAY: Pipe-111-110
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
UAV:OnTriggerStay (UnityEngine.Collider) (at Assets/Scenes/UAV.cs:89)

(Filename: Assets/Scenes/UAV.cs Line: 89)