# [Deploy Unity Machine Learning Agents on Arm Android devices](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/)

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/)
- [Machine Learning in games](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/02-ml-in-games/)
- [Install Unity and the project](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/03-install/)
- [The Dr Arm game](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/04-the-dr-arm-game/)
- [Machine Learning in Unity](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/05-machine-learning-in-unity/)
- [The Unity project](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/06-the-unity-project/)
- [Objects and Components](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/07-objects-and-components/)
- [Training our ML agents](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/08-training-our-ml-agents/)
- [Optimizations](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/09-optimizations/)
- [Summary](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/10-summary/)
- [Next Steps](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/using_unity_machine_learning_agents/_next-steps/)

## About this Learning Path

| Skill level:      |  Advanced              |
|-------------------|-----------------------|
| Reading time:     |  1 hr                 |
| Last updated:     |  21 Aug 2026          |

| Author:           | Annie Tallund, Arm [GitHub](https://github.com/annietllnd) [LinkedIn](https://linkedin.com/in/annietallund) |
|-------------------|-----------------------|
| Arm IP:           | [Cortex-A](https://support.arm.com/?tab=compute-ip&Product%20Type=Application%20Processors) |
| Tags:             | [Gaming](https://learn.arm.com/tag/gaming) [Android](https://learn.arm.com/tag/android) [Unity](https://learn.arm.com/tag/unity) |

### Who is this for?
Developers interested in leveraging the Unity Machine Learning Agents toolkit on Arm devices.

### What will you learn?
Upon completion of this Learning Path, you will be able to:
- Get the Unity Machine Learning (ML) Agents toolkit running in a game that is deployable to Arm-powered Android devices.
- Note - Instructions on how to deploy Unity games to an Arm-powered Android device and how to profile them are included in separate Learning Paths.

### Prerequisites
Before starting, you will need the following:
- A computer capable of running Unity. (Instructions are for Windows, but could be adapted to other platforms.)
- An Android mobile device that has a 64-bit processor and supports at least Android 8.
- A USB cable to connect the mobile device to your computer.

### Summary
You’ll use Unity ML-Agents to add machine-learning behavior to the Dr Arm fighting game. First, you’ll install Unity and its required modules, open the ready-to-play scene, and explore how an agent uses observations, actions, and rewards. Then, you’ll modify the gameplay scene components and scripts, set up Python tools, train agents or use supplied training data, and review training optimizations.

### Frequently asked questions
<details>
<summary>Which Unity scene do I open for the ML steps?</summary>
In the **Project** tab, open `Assets/#DevSummit2022/Scenes/Level_DevSummit2022`. Use this incomplete scene for the walkthrough instead of `Level_DevSummit2022_ReadyToPlay`.
</details>

<details>
<summary>Do I need Python installed before I can start?</summary>
You need Python tools for the training stage. To get started, install Unity first and return to the Python setup when you begin training.
</details>

<details>
<summary>What do I install with Unity Hub for this project?</summary>
Install Unity Hub and a Unity Editor. If you plan to deploy to Android, add **Android Build Support**, **OpenJDK**, and **Android SDK & NDK Tools**. You can install Microsoft Visual Studio Community 2022 with Unity support, or use another script editor, then download the Dr Arm project files.
</details>

<details>
<summary>How do I control the player on a mobile device during testing?</summary>
Use the on-screen touch controls to move, roll, and perform attacks on mobile.
</details>

<details>
<summary>How do I use a trained model in the game?</summary>
Reopen `Level_DevSummit2022`, select **AgentsSettings**, and assign an `NN Model` asset to each Battle Brain property. You can use the supplied pre-trained models or models from your completed training.
</details>
