File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ your trainer configuration to do so. (#4448)
4949#### com.unity.ml-agents (C#)
5050- Previously, ` com.unity.ml-agents ` was not declaring built-in packages as
5151dependencies in its package.json. The relevant dependencies are now listed. (#4384 )
52+ - Agents no longer try to send observations when they become disabled if the
53+ Academy has been shut down. (#4489 )
5254#### ml-agents / ml-agents-envs / gym-unity (Python)
5355- Fixed the sample code in the custom SideChannel example. (#4466 )
5456- A bug in the observation normalizer that would cause rewards to decrease
Original file line number Diff line number Diff line change @@ -491,8 +491,8 @@ protected virtual void OnDisable()
491491 Academy . Instance . DecideAction -= DecideAction ;
492492 Academy . Instance . AgentAct -= AgentStep ;
493493 Academy . Instance . AgentForceReset -= _AgentReset ;
494+ NotifyAgentDone ( DoneReason . Disabled ) ;
494495 }
495- NotifyAgentDone ( DoneReason . Disabled ) ;
496496 m_Brain ? . Dispose ( ) ;
497497 m_Initialized = false ;
498498 }
You can’t perform that action at this time.
0 commit comments