Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question how to reload scene with ml agents

Discussion in 'ML-Agents' started by Orange0831, Mar 30, 2023.

  1. Orange0831

    Orange0831

    Joined:
    Aug 24, 2020
    Posts:
    2
    Hi, I am using trained agents in Walker project. When game is over player can reload the entire scene and start from beginning. The problem is that after reloading scene via SceneManager.LoadScene(), the character seems untrained. That happens only after reloading scene. First time everything is ok. How to deal with it?There is no error reported after the scene reset
     
  2. Orange0831

    Orange0831

    Joined:
    Aug 24, 2020
    Posts:
    2