Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Barracuda/BehaviorParameters.cs Errors when importing mlagents package

Discussion in 'ML-Agents' started by joelownby, Apr 21, 2024.

  1. joelownby

    joelownby

    Joined:
    Mar 14, 2021
    Posts:
    5
    It appears the problem occurred when I tried to load the 3dball example scene included. I have done a complete clean unity install and now it throws all the error when I import com.unity.ml-agents every on time on import. Can anyone at least point me in the right direction?

    Log below and the script throwing the file is attached. Thank you!

    Python 3.10.12
    Unity 23.2.19.f1
    Anaconda - miniconda3

    upload_2024-4-20_18-58-59.png
     

    Attached Files:

  2. XaGeek

    XaGeek

    Joined:
    Nov 30, 2018
    Posts:
    1
    Basically the release 21 contains a stale version of the 3DBall and other things because Barracuda was replaced by Sentis or something like that but the the update hasn't been pushed to production, which is the repo you cloned.

    You can fix it by manually replacing the files (at least that worked for me but I cannot guarantee it won't create other problems later on). Anyway the full topic that helped me can be found here: https://github.com/Unity-Technologies/ml-agents/issues/6023