Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question UnityTimeOutException after altering environment

Discussion in 'ML-Agents' started by swagzinna, Dec 13, 2021.

  1. swagzinna


    Apr 20, 2021
    Hi everyone!
    So I have a unity timeout exception that newly occured in my project, after i made small and simple changes to my environment: error.png

    My environment is an alteration of the PushBlockCollab project by unity, but I added a second team and wanted to use self-play in order to train the agents.
    Firstly I tried to train in said environment, but the the training didnt work as expected, which is why i wanted to make the environment smaller/easier. Initially this worked, but after making it a little bit more smaller, the error occured.

    Here is the original environemt i designed (which is working just fine):

    Here is the easier/smaller environemt(which doesnt work):

    I did not change anything in code, and since everything is working in the bigger environment i doubt that it is one of the three proposed solutions from the error message.
    Furthermore, the error does not occure at the same time: Everytime i train the model it occures at a different time (mostly between 100 000 and 600 000 steps).

    Does anyone have any idea where my problem could be? You would really help me out!
    Thanks a lot!