Search Unity

Our newest additions to the Unity Learn platform will teach you how to use Reinforcement Learning and AI to solve game development challenges and make better, smarter games.

Harness the power of Machine Learning Agents

We’re constantly adding exciting content to the Unity Learn platform, and our most recent addition is the free ML-Agents: Penguins project created in collaboration with Immersive Limit, a team that creates high-quality Unity learning content. We designed this project for intermediate Unity developers with little or no machine learning experience and a desire to get started using AI decision-making in Unity.

In this project, you’ll train penguins (agents) to catch swimming fish and bring them within feeding distance of their babies. This creates a neural network capable of making “inferences” (decisions) based upon its training and inputs from the agent. You’ll learn how to:

  • Set up Anaconda and the Unity ML-Agents environment
  • Create a project that uses Unity ML-Agents
  • Train an agent using machine learning


Start Learning


Unity ML-Agents, our first open-source machine learning product, brings Reinforcement Learning to your Unity projects. Reinforcement Learning is an exciting branch of Artificial Intelligence that helps game developers create complex and interesting behaviors for both playable and non-playable characters (NPCs); it’s recently been in the news for helping beat the top players in games like Go and StarCraft. 

Unity ML-Agents trains agents with Reinforcement Learning and evolutionary methods via a simple Python API, which enables:

  • Game developers to tackle challenges, such as using agents to dynamically adjust the game-difficulty level
  • Industrial and enterprise researchers to implement large-scale parallel training regimes for robotics, autonomous vehicles, and other industrial applications
  • Academic researchers to study complex behaviors from visual content and realistic physics

Artificial Intelligence for Beginners

If you’re interested in a deep dive into the broader world of AI, we’re excited to recommend a recent addition to Unity Learn Premium — AI for Beginners, a 15-hour course taught by industry leader Dr. Penny de Byl.

In this course, Dr. de Byl shares the most popular AI techniques used for creating believable game characters using her internationally acclaimed teaching style and knowledge from over 25 years researching and working with games, computer graphics, and artificial intelligence. Throughout the course, you’ll follow along with hands-on workshops designed to teach you about the fundamental AI techniques used in today’s games. 

This thorough course begins with an examination of the math and physics that sits at the very heart of AI programming for NPCs, including graph theory, waypoints, and the A* algorithm. By the end, you’ll have a good understanding of how AI works, how it’s used in games, and how you can use it in your own projects to take your game environments to the next level.


Check out the course


Upcoming releases

Growing Your Mobile GameWe’re excited to be releasing a course on March 11 for game developers looking to get started with user acquisition and monetization. This course will teach you how to:

  • Make money from your game
  • Set up a paid user acquisition campaign the efficient way
  • Track the initial success of your game so it can scale

Stay tuned for more great tutorials, projects, and courses in the coming months on topics such as animation storytelling, using Unity in non-gaming industries, and a follow-up to the ML-Agents: Penguins project, the ML-Agents: Hummingbirds course, an in-depth learning experience also focused on using Reinforcement Learning in Unity. 

Check out the ML-Agents: Penguins project and the AI for Beginners course, and keep learning with over 750 hours of learning material on the Unity Learn platform. Thanks for learning with us!

13 replies on “Learn to leverage Artificial Intelligence to enhance your Unity projects”

Wow-what a great post it is. My interest in artificial intelligence since my school days. Now I do work extender setup which is to be used for extending your internet range in every corner of you which couldn’t happen by the router. You can take a view here for knowing more about extender setup.

Hi Kender, is this affecting all the videos for you or one in particular? I’m testing now on Chrome and am able to play the videos on the Learn Premium platform just fine after logging in.

The AI for beginners course does not work. The videos say “The media could not be loaded, either because the server or network failed or because the format is not supported.” in chrome and “No compatible source was found for this media” in Edge.
There is no support contact form or email address to be found anywhere in Unity Learn so maybe this comment here helps?

Hi Kender, is this happening for the entire course or just specific videos? I’m testing in Chrome right now and am able to play all the videos on the Learn Premium platform after logging in.

It was happening for all of them. I checked further and the same happens with all the other courses, even ones I watched and completed earlier.
In Chrome, Chrome without extensions and in Microsoft Edge.
I noticed a comment by “Wassim Mefteh 5 days ago” on th very 1st video: “why the tutorial doesn’t work ? ‘The media could not be loaded’ !!!”
I really don’t want to be troubleshooting this in a blog comments section. Isn’t there a dedicated support avenue?

Great Post for Beginner to understand. I finally found great post here. Thanks for information.keep sharing more articles.

Comments are closed.