Unreal Engine 5.4: Learning Agents for Character
🕑 Added 2024-05-07 12:35:19 +0000 UTCThis post contains a link to the project file for download.
In this tutorial, we will train an AI character for shooting battles using the Learning Agents plugin in Unreal Engine 5.4. There are 2 parts tutorials. You will learn how to set up the Learning Agents Interactor, Learning Agents Trainer, and Learning Agents Manager with a third-person character.
Youtube Tutorial: https://youtu.be/kSgs3JmUYpo
-
-
-
UE5.4 Project File: https://drive.google.com/file/d/1iXxZg1o3slxFyxcVHLZQtHRRmEJI5SI6/view?usp=sharing
Comments
Sengchor Taing
I just found the solution. Go to BP_LearningAgentsManagerR and click on the Trainer Path Settings variable. You’ll see "Editor Intermediate Relative Path", then click on choose directory from this computer (3 dots sign). Navigate to this project's location, open your project "Intermediate" file and click Select Folder. Repeat the same steps for BP_LearningAgentsManagerB. After that, run the project again, and the error should be resolved. This issue occurs because the project locations on our local computers are different.
Sengchor Taing
I just found the solution. Go to BP_LearningAgentsManagerR and click on the Trainer Path Settings variable. You’ll see "Editor Intermediate Relative Path", then click on choose directory from this computer (3 dots sign). Navigate to this project's location, open your project "Intermediate" file and click Select Folder. Repeat the same steps for BP_LearningAgentsManagerB. After that, run the project again, and the error should be resolved. This issue occurs because the project locations on our local computers are different.
Rithvik Mandya
I'm getting the same error as well LogLearning: Error: TrainerR_0: Can't find Python executable "../../../../../AllUEProjects/LearnShooting/Intermediate/PipInstall/Scripts/python.exe". Please help!!
David Beuger
I get this error! LogLearning: Error: TrainerR_6: Can't find Python executable "../../../../../AllUEProjects/LearnShooting/Intermediate/PipInstall/Scripts/python.exe".