Below is my custom script for hearing, I listen to an event that sets a variable. Its a pretty simple script. The issue is when I call the event the OnUpdate that plays next is played twice. So the debugs I see after the event is called are
1. Debug.Log("Hello1");
1. Debug.Log("Hello2");
1. Debug.Log("Hello3");
1. Debug.Log("Hello4 success");
1. Debug.Log("Hello5 failure");
This happens in the same tick (I tested by setting the behavior manager tick time to 5 so I can see that it is called twice). Below is a picture of my subTree, it is never playing the seek task because it immediately turns back to failure after a success. I have the sequence conditional set to Lower Priority not Self so I dont understand why its playing twice
1. Debug.Log("Hello1");
1. Debug.Log("Hello2");
1. Debug.Log("Hello3");
1. Debug.Log("Hello4 success");
1. Debug.Log("Hello5 failure");
This happens in the same tick (I tested by setting the behavior manager tick time to 5 so I can see that it is called twice). Below is a picture of my subTree, it is never playing the seek task because it immediately turns back to failure after a success. I have the sequence conditional set to Lower Priority not Self so I dont understand why its playing twice