Hey, thanks for the answer. This does not fix the issue, though. HearingConfig is never set to NULL, it just randomly starts pointing at garbage memory, so the if check will still be true when it’s not a valid pointer.
Could you please elaborate on what you mean by adding the debug messages? Since it’s a dynamic method called on the OnTargetPerceptionUpdated event, I wouldn’t know how to do that.