Search Unity

Can I stop the Academy on Scene change ?

Discussion in 'ML-Agents' started by ValiPlaysHD, Apr 5, 2020.

  1. ValiPlaysHD

    ValiPlaysHD

    Joined:
    Oct 26, 2019
    Posts:
    1
    Is it possible to stop the Academy when another scene is loaded ?
    For example: I have 2 scenes, A - where the agent is, and B - main menu.
    If I go B -> A, then the agent works. But if I try B -> A -> B -> A then it doesn't work anymore because the agent is already initialized.