diff --git a/com.unity.ml-agents/CHANGELOG.md b/com.unity.ml-agents/CHANGELOG.md index 5cdbf569a0..71a2739257 100755 --- a/com.unity.ml-agents/CHANGELOG.md +++ b/com.unity.ml-agents/CHANGELOG.md @@ -18,7 +18,7 @@ and this project adheres to #### com.unity.ml-agents (C#) - `SideChannelsManager` was renamed to `SideChannelManager`. The old name is still supported, but deprecated. (#4137) - `RayPerceptionSensor.Perceive()` now additionally store the GameObject that was hit by the ray. (#4111) -- The Barracuda dependency was upgraded to 1.0.0 (#4118) +- The Barracuda dependency was upgraded to 1.0.1 (#4188) #### ml-agents / ml-agents-envs / gym-unity (Python) - Added new Google Colab notebooks to show how to use `UnityEnvironment'. (#4117) - Fixed issue with FoodCollector when playing with keyboard. (#4147) diff --git a/com.unity.ml-agents/Editor/DemonstrationImporter.cs b/com.unity.ml-agents/Editor/DemonstrationImporter.cs index a5fc9b8cf5..64896ad237 100644 --- a/com.unity.ml-agents/Editor/DemonstrationImporter.cs +++ b/com.unity.ml-agents/Editor/DemonstrationImporter.cs @@ -4,7 +4,11 @@ using Unity.MLAgents.CommunicatorObjects; using UnityEditor; using UnityEngine; +#if UNITY_2020_2_OR_NEWER +using UnityEditor.AssetImporters; +#else using UnityEditor.Experimental.AssetImporters; +#endif using Unity.MLAgents.Demonstrations; namespace Unity.MLAgents.Editor diff --git a/com.unity.ml-agents/package.json b/com.unity.ml-agents/package.json index cadd65e03f..3a0cd7940a 100755 --- a/com.unity.ml-agents/package.json +++ b/com.unity.ml-agents/package.json @@ -5,6 +5,6 @@ "unity": "2018.4", "description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).", "dependencies": { - "com.unity.barracuda": "1.0.0" + "com.unity.barracuda": "1.0.1" } }