Back to Browse

Get Started with ML-Agents in Unity - Part 1: Setup & Installation

4.2K views
Feb 24, 2026
21:11

In this tutorial, we walk through the setup process for Unity ML-Agents, covering both the Unity and Python components. You’ll learn how to install necessary tools, configure the python environment, and run a basic ML-Agents training example within Unity. 📜 Doc containing the 'Commands' used in this video : https://github.com/LudicWorlds/ml-agents-course-assets/blob/main/conda-commands.md → Next Video • Get Started with ML-Agents in Unity - Part 2: Basic Concepts: https://youtu.be/S7NFRNmsslw 💬 Join our Discord community (free!): https://discord.gg/E3TKMv4tfV ▬ Support My Work ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ❤️ Support me on Patreon: https://www.patreon.com/ludicworlds ☕ Buy me a coffee: https://ko-fi.com/ludicworlds Thank you for your support! ▬ Timestamps ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 0:00 - Intro 1:22 - Setup Overview 2:07 - Install Visual C++ Redistributable 2:40 - Install CUDA Toolkit 5:32 - Install cuDNN 6:31 - Install Anaconda 7:36 - Anaconda PowerShell Prompt 8:33 - Unity & Python: Key Roles 9:30 - Set Up Virtual Environment 10:59 - Install Dependencies 12:35 - Download ML-Agents Source Code 13:35 - Install ML-Agents Python Package 14:34 - Open Unity Examples Project 15:53 - ML-Agents Unity Package 16:36 - Open Basic Example Scene 17:29 - Start Python Backend 18:49 - Play Basic Example in Unity 19:38 - Training Session Output 20:02 - Resume or Restart Training Session 20:41 - Outro ▬ Useful Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ► ML-Agents Installation Instructions: https://docs.unity3d.com/Packages/[email protected]/manual/Installation.html ► Microsoft Visual C++ Redistributable: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist ► Cuda Toolkit: https://developer.nvidia.com/cuda-toolkit ► CUDA GPU Compute Capability: https://developer.nvidia.com/cuda/gpus ► CuDNN Downloads: https://developer.nvidia.com/cudnn-downloads ► CuDNN → Cuda Toolkit Support Matrix: https://docs.nvidia.com/deeplearning/cudnn/backend/latest/reference/support-matrix.html ► Miniconda Download: https://www.anaconda.com/download ► ML-Agents GitHub: https://github.com/Unity-Technologies/ml-agents ► Example Learning Environments: https://github.com/Unity-Technologies/ml-agents/blob/develop/docs/Learning-Environment-Examples.md ▬ Credits ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ► Music by - CO.AG Music: https://www.youtube.com/@co.agmusic #Unity #AI #mlagents #reinforcementlearning

Download

0 formats

No download links available.

Get Started with ML-Agents in Unity - Part 1: Setup & Installation | NatokHD