/Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Agents/MLAdapterAgent.h
When the agent's avatar is destroyed, we need to cleanup callbacks and references to the avatar. Will request a new avatar if AgentConfig.bAutoRequestNewAvatarUponClearingPrev is true.
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)() virtual void OnAvatarDestroyed ( [AActor](API\Runtime\Engine\GameFramework\AActor) * DestroyedActor )