The type or namespace name 'NNModel' could not be found
用unity配置mlagent之后,报错,也可能是导入3dball之后报错,问题是mlagent的包里面有错,或者是3dball的示例文件有错,去官网把这两个文件替换可以解决。
文件地址
https://github.com/Unity-Technologies/ml-agents/blob/develop/com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs
https://github.com/Unity-Technologies/ml-agents/blob/develop/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs
将这两个替换即可