
Research on the integrated application of machine learning in Unity
- 1 South-Central Minzu University College of Computer Science
* Author to whom correspondence should be addressed.
Abstract
In recent years, the introduction of Machine Learning Agents has enabled more individuals to apply machine learning within the renowned Unity game engine. As application development has become increasingly complex, traditional artificial intelligence (AI) struggles to keep pace with the growing demands of modern applications. However, machine learning offers new avenues for developing smarter, more dynamic game characters. This paper aims to provide a comprehensive review of the various applications of machine learning within the Unity ecosystem, including game AI, intelligent character behavior, and reinforcement learning. Through a literature review and case studies, this paper explores the specific applications of machine learning algorithms in the Unity engine and analyzes the current state of development in different fields. The research findings indicate that the application of machine learning in Unity exhibits numerous developmental trends and leaves ample room for further application development in its strong areas. This technology can be innovatively applied across many fields, from implementing advanced NPCs and third-person game agents to anti-cheat mechanisms, from image recognition-based health systems to the design of complex constrained environments. The integrated application model of machine learning and Unity3D will bring more innovation and possibilities to future application development.
Keywords
Unity Machine Learning Agents, Machine learning, Unity, Artificial Intelligence.
[1]. Juliani, A., Berges, V. P., et al. (2018). Unity: A general platform for intelligent agents. arXiv preprint arXiv:1809.02627.
[2]. Alpaydin, E. (2020). Introduction to machine learning. MIT Press.
[3]. Håkansson, C. and Fröberg, J. (2021). Application of machine learning to construct advanced NPC behaviors in Unity 3D.
[4]. Xiqi, X. (2024). Game AI Evolution: Uniting Unity and Machine Learning for Enhanced Player Interaction and Experience.
[5]. Andersson, P. (2021) Future-proofing Video Game Agents with Reinforced Learning and Unity ML-Agents.
[6]. Alilovic, D. (2022). Developing a Machine Learning Model for Playing a Platformer Video Game in Unity and TensorFlow (Doctoral dissertation, Fakultet organizacije i informatike).
[7]. Mahmoudi, R. and Ostreika, A. (2023) Reinforcement Learning for Obstacle Avoidance Application in Unity ML-Agents. In IVUS, 214-221.
[8]. Lai, J., Chen, X.L. and Zhang, X.Z. (2019) Training an agent for third-person shooter game using unity ML-agents. International Conference on Artificial Intelligence and Computing Science, 317-332.
[9]. Lukas, M., Tomicic, I. and Bernik, A. (2022) Anticheat system based on reinforcement learning agents in unity. Information, 13(4): 173.
[10]. Pai, N.S., Chen, P.X., Chen, P.Y. and Wang, Z.W. (2022) Home Fitness and Rehabilitation Support System Implemented by Combining Deep Images and Machine Learning Using Unity Game Engine.Sensors & Materials, 34.
[11]. Li, H.C. and Jing, L. (2023) 3D Monitoring of Toothbrushing Regions and Force Using Multimodal Sensors and Unity. IEEE Access, 11: 94753-94771.
[12]. Gao, X., Zhang, L. and Huang, X. (2024) Exploring Spatial Arrangement of Locker Area in Ski Resort Hakk for Enhancing Interpersonal Distancing Using Unity Engine.
[13]. Lopes, M.W.R. (2020). Generating procedural dungeons using machine learning methods: an approach with Unity-ML.
[14]. Nopawong, E. and Praditsangthong, R. (2020) Developing a Dynamic Decision Making of an Enemy Character in a Tower Defense Game using Reinforcement Learning Technique in Unity ML-Agents. RSU International Research Conference 2020, 726-735.
Cite this article
Hu,C. (2024). Research on the integrated application of machine learning in Unity. Applied and Computational Engineering,82,161-166.
Data availability
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
Disclaimer/Publisher's Note
The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
About volume
Volume title: Proceedings of the 2nd International Conference on Machine Learning and Automation
© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and
conditions of the Creative Commons Attribution (CC BY) license. Authors who
publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons
Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this
series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published
version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial
publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and
during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See
Open access policy for details).