Hi there, wonder if you can assist with probably quite a basic mistake. I'm attempting to send an event (FreezePlayer) to a C# script which is on BespokeGameLogic gameobject:

The code is failing at the only place it can within SendEvent.cs:
Which seems to imply it can't find the behaviour tree, but this is correct as I'm trying to send that event to a script which is listening for it (not a behaviour tree). Can you advise me where I'm going wrong?
Thanks!

The code is failing at the only place it can within SendEvent.cs:
Code:
if (m_ResolvedBehaviorTree == null) {
return TaskStatus.Failure;
}
Which seems to imply it can't find the behaviour tree, but this is correct as I'm trying to send that event to a script which is listening for it (not a behaviour tree). Can you advise me where I'm going wrong?
Thanks!