# \#Learning-Agents

**URL:** https://forums.unrealengine.com/tag/learning-agents/11468.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [UE 5.8 – NNERuntimeBasicCpu: Conv1d/Conv2d crash when the convolved observation is a stateless layer](https://forums.unrealengine.com/t/ue-5-8-nneruntimebasiccpu-conv1d-conv2d-crash-when-the-convolved-observation-is-a-stateless-layer/2854803)

<div class="topic-metadata">

**Author:** [@AdyTheQueen2020](https://forums.unrealengine.com/u/AdyTheQueen2020)\
**Replies:** 0\
**Last updated:** [November 12, 2026, 10:20pm UTC](https://forums.unrealengine.com/t/ue-5-8-nneruntimebasiccpu-conv1d-conv2d-crash-when-the-convolved-observation-is-a-stateless-layer/2854803 "2026-11-12T22:20:04Z")

</div>

Summary FConv1dInstance::SetMaxBatchSize and FConv2dInstance::SetMaxBatchSize call SubLayerInstance-\>SetMaxBatchSize(MaxBatchSize) unconditionally. ILayer::MakeInstance() returns nullptr by default, so any stateless sub…

---

## [Is it possible to use an GPU RTX 5000 series for Learning Agents? There is a problem](https://forums.unrealengine.com/t/is-it-possible-to-use-an-gpu-rtx-5000-series-for-learning-agents-there-is-a-problem/2682865)

<div class="topic-metadata">

**Author:** [@KISLICHOK](https://forums.unrealengine.com/u/KISLICHOK)\
**Replies:** 5\
**Last updated:** [November 3, 2026, 4:25pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-use-an-gpu-rtx-5000-series-for-learning-agents-there-is-a-problem/2682865 "2026-11-03T16:25:56Z")

</div>

I’m trying to run GPU training, but a standard warning about hardware incompatibility with PyTorch appears. Then there are the errors. My GPU RTX 5000 series is not supported. I tried to update, but when loading t…

---

## [Reset recurrent memory at episode boundaries instead of masking the loss in Learning Agents](https://forums.unrealengine.com/t/reset-recurrent-memory-at-episode-boundaries-instead-of-masking-the-loss-in-learning-agents/2845440)

<div class="topic-metadata">

**Author:** [@MannyVindiola](https://forums.unrealengine.com/u/MannyVindiola)\
**Replies:** 1\
**Last updated:** [October 27, 2026, 2:37pm UTC](https://forums.unrealengine.com/t/reset-recurrent-memory-at-episode-boundaries-instead-of-masking-the-loss-in-learning-agents/2845440 "2026-10-27T14:37:35Z")

</div>

This one is not a bug report but rather, an alternative suggestion for your consideration. learning\_agents/ppo.py trains recurrent policies on fixed-length windows (PolicyWindowSize) taken from the flattened experience b…

---

## [Off-by-one errors in ppo.py affect the last episode of a gather during training](https://forums.unrealengine.com/t/off-by-one-errors-in-ppo-py-affect-the-last-episode-of-a-gather-during-training/2845303)

<div class="topic-metadata">

**Author:** [@MannyVindiola](https://forums.unrealengine.com/u/MannyVindiola)\
**Replies:** 1\
**Last updated:** [October 27, 2026, 1:39pm UTC](https://forums.unrealengine.com/t/off-by-one-errors-in-ppo-py-affect-the-last-episode-of-a-gather-during-training/2845303 "2026-10-27T13:39:19Z")

</div>

Hello, I think I have found two off-by-one errors in the LearningAgents PPO python trainer ppo.py While comparing the LearningAgents Python PPO trainer to the CleanRL version I found two off-by-one errors in loop bound…

---

## [\[TOOL/PLUGIN\] VERA — In-Editor AI Agent for Unreal Engine 5.7 & 5.8 (7 LLM Providers, Viewport Vision, Open Source)](https://forums.unrealengine.com/t/tool-plugin-vera-in-editor-ai-agent-for-unreal-engine-5-7-5-8-7-llm-providers-viewport-vision-open-source/2738556)

<div class="topic-metadata">

**Author:** [@Ezesubu](https://forums.unrealengine.com/u/Ezesubu)\
**Replies:** 2\
**Last updated:** [October 24, 2026, 2:19am UTC](https://forums.unrealengine.com/t/tool-plugin-vera-in-editor-ai-agent-for-unreal-engine-5-7-5-8-7-llm-providers-viewport-vision-open-source/2738556 "2026-10-24T02:19:00Z")

</div>

Hi everyone! :waving\_hand: I’m excited to share VERA (Virtual Engine Reasoning Agent) — an open-source AI co-pilot that lives directly inside the Unreal Editor. Unlike external chatbots that force you to copy & pas…

---

## [Incorrect state when buffer fills mid-episode. ](https://forums.unrealengine.com/t/incorrect-state-when-buffer-fills-mid-episode/2835458)

<div class="topic-metadata">

**Author:** [@MannyVindiola](https://forums.unrealengine.com/u/MannyVindiola)\
**Replies:** 3\
**Last updated:** [October 22, 2026, 3:40pm UTC](https://forums.unrealengine.com/t/incorrect-state-when-buffer-fills-mid-episode/2835458 "2026-10-22T15:40:30Z")

</div>

Hello, I think there is an issue with filling the replay buffer when an episode is longer than the remaining steps. If you look here: https://github.com/EpicGames/UnrealEngine/blob/396c9f059903aed5fec78ecd3d437a40c641…

---

## [PPO eps clip is unbounded when advantage is negative  ](https://forums.unrealengine.com/t/ppo-eps-clip-is-unbounded-when-advantage-is-negative/2835449)

<div class="topic-metadata">

**Author:** [@MannyVindiola](https://forums.unrealengine.com/u/MannyVindiola)\
**Replies:** 2\
**Last updated:** [October 22, 2026, 3:39pm UTC](https://forums.unrealengine.com/t/ppo-eps-clip-is-unbounded-when-advantage-is-negative/2835449 "2026-10-22T15:39:45Z")

</div>

Hello, I have found an issue with the trust region when adavantage is negative. Take a look at this code snippet. surr = torch.min(ratio, ratio.clamp(eps\_clip\_log\_min, eps\_clip\_log\_max)) loss\_surr += ... adv\[:,i\] \* -(s…

---

## [Int32 wrap in shared\_memory\_communicator.py of LearningAgents](https://forums.unrealengine.com/t/int32-wrap-in-shared-memory-communicator-py-of-learningagents/2742446)

<div class="topic-metadata">

**Author:** [@\_YAF\_Lightbringer](https://forums.unrealengine.com/u/_YAF_Lightbringer)\
**Replies:** 2\
**Last updated:** [September 16, 2026, 3:20pm UTC](https://forums.unrealengine.com/t/int32-wrap-in-shared-memory-communicator-py-of-learningagents/2742446 "2026-09-16T15:20:49Z")

</div>

Hi there, there’s some rather unfortunate error handling in the shared memory communicator of Learning Agents on the python side that silently shreds larger datasets: Line 45: size = int(np.prod(shape) \* np.dtype(dtyp…

---

## [Is it possible to import a trained ONNX model and convert it to use it with Learning Agents?](https://forums.unrealengine.com/t/is-it-possible-to-import-a-trained-onnx-model-and-convert-it-to-use-it-with-learning-agents/2735384)

<div class="topic-metadata">

**Author:** [@neoscodex](https://forums.unrealengine.com/u/neoscodex)\
**Replies:** 0\
**Last updated:** [July 13, 2026, 11:55am UTC](https://forums.unrealengine.com/t/is-it-possible-to-import-a-trained-onnx-model-and-convert-it-to-use-it-with-learning-agents/2735384 "2026-07-13T11:55:35Z")

</div>

I have found an old post from Brendan Mulcahy explaining how to theoretically convert an ONNX model to the data assets required by Learning Agents. I wanted to ask if there has been any development on this. Is it possibl…

---

## [Which observations are allowed and/or expected to work as a conv2d subobservation?](https://forums.unrealengine.com/t/which-observations-are-allowed-and-or-expected-to-work-as-a-conv2d-subobservation/2706441)

<div class="topic-metadata">

**Author:** [@YoloSwaggerson](https://forums.unrealengine.com/u/YoloSwaggerson)\
**Replies:** 2\
**Last updated:** [June 26, 2026, 10:24am UTC](https://forums.unrealengine.com/t/which-observations-are-allowed-and-or-expected-to-work-as-a-conv2d-subobservation/2706441 "2026-06-26T10:24:45Z")

</div>

Hello. So one of the observations I have is a conv2d observation. Initially I tried to use a continuous observation as its subobservation because I thought it made the most sense. That schema fragment looks like this: F…

---

## [Extending the Learning Agents plugin](https://forums.unrealengine.com/t/extending-the-learning-agents-plugin/2628789)

<div class="topic-metadata">

**Author:** [@\_YAF\_Lightbringer](https://forums.unrealengine.com/u/_YAF_Lightbringer)\
**Replies:** 14\
**Last updated:** [June 25, 2026, 3:57pm UTC](https://forums.unrealengine.com/t/extending-the-learning-agents-plugin/2628789 "2026-06-25T15:57:59Z")

</div>

Hi, we’re currently looking into using LA to train FPS style bots that use raycast information, e.g. a vision grid. Typically, I would feed that into a 2D convolutional layer to extract information, but as far as a I ca…

---

## [Running into a python cleanup problem on Learning agents after migrating project to new system.](https://forums.unrealengine.com/t/running-into-a-python-cleanup-problem-on-learning-agents-after-migrating-project-to-new-system/2728975)

<div class="topic-metadata">

**Author:** [@neoscodex](https://forums.unrealengine.com/u/neoscodex)\
**Replies:** 4\
**Last updated:** [June 18, 2026, 12:35pm UTC](https://forums.unrealengine.com/t/running-into-a-python-cleanup-problem-on-learning-agents-after-migrating-project-to-new-system/2728975 "2026-06-18T12:35:23Z")

</div>

After running into issues with Learning Agents on a system with a rtx 50 series gpu, I decided to migrate the project to a weaker system using a default compatible 3060. I got the project to run and training starts but a…

---

## [LearningAgents Recording Schema in UE5.7-preview1](https://forums.unrealengine.com/t/learningagents-recording-schema-in-ue5-7-preview1/2671281)

<div class="topic-metadata">

**Author:** [@\_YAF\_Lightbringer](https://forums.unrealengine.com/u/_YAF_Lightbringer)\
**Replies:** 4\
**Last updated:** [June 17, 2026, 3:49pm UTC](https://forums.unrealengine.com/t/learningagents-recording-schema-in-ue5-7-preview1/2671281 "2026-06-17T15:49:15Z")

</div>

I just upgraded a test project from an earlier CL (via github) of UE5.7 to the EOS version preview1, and noticed that the LearningAgents recorder doesn’t fill out the schema fields in the LearningAgents Recording anymore…

---

## [Are the Blueprint examples for Learning Agents tutorials broken? Could they be updated? ](https://forums.unrealengine.com/t/are-the-blueprint-examples-for-learning-agents-tutorials-broken-could-they-be-updated/2723122)

<div class="topic-metadata">

**Author:** [@neoscodex](https://forums.unrealengine.com/u/neoscodex)\
**Replies:** 3\
**Last updated:** [June 5, 2026, 5:54pm UTC](https://forums.unrealengine.com/t/are-the-blueprint-examples-for-learning-agents-tutorials-broken-could-they-be-updated/2723122 "2026-06-05T17:54:03Z")

</div>

I am currently trying to get familiar with Unreal Engines Learning Agents for my running Bachelors Thesis, at least for me currently all blueprint examples within the tutorials seem to be broken (they only show very few …

---

## [(Learning Agents) Getting observation data at each step for reward function](https://forums.unrealengine.com/t/learning-agents-getting-observation-data-at-each-step-for-reward-function/2724968)

<div class="topic-metadata">

**Author:** [@hi\_i\_am\_fakroun](https://forums.unrealengine.com/u/hi_i_am_fakroun)\
**Replies:** 1\
**Last updated:** [May 28, 2026, 7:44pm UTC](https://forums.unrealengine.com/t/learning-agents-getting-observation-data-at-each-step-for-reward-function/2724968 "2026-05-28T19:44:20Z")

</div>

I am trying to implement a reward function that depends on the observations made that step, basically when an observation is made, i need to retrieve that in order to calculate the reward for my agent. Is there a way to…

---

## [Try implement Car boost into Learning Agents Driving Tutorial, but I ran into an implementation problem](https://forums.unrealengine.com/t/try-implement-car-boost-into-learning-agents-driving-tutorial-but-i-ran-into-an-implementation-problem/2717173)

<div class="topic-metadata">

**Author:** [@KISLICHOK](https://forums.unrealengine.com/u/KISLICHOK)\
**Replies:** 2\
**Last updated:** [May 6, 2026, 6:26pm UTC](https://forums.unrealengine.com/t/try-implement-car-boost-into-learning-agents-driving-tutorial-but-i-ran-into-an-implementation-problem/2717173 "2026-05-06T18:26:06Z")

</div>

Hello! I’m trying to implement car nitro (boost) based on a tutorial. My goal is to teach the agent how to boost the car for a certain period of time. I ran into the problem that the agent switches the nitro state ver…

---

## [Learning Agents Tutorial 5.6+](https://forums.unrealengine.com/t/learning-agents-tutorial-5-6/2719769)

<div class="topic-metadata">

**Author:** [@silentkratos](https://forums.unrealengine.com/u/silentkratos)\
**Replies:** 0\
**Last updated:** [May 4, 2026, 3:57am UTC](https://forums.unrealengine.com/t/learning-agents-tutorial-5-6/2719769 "2026-05-04T03:57:34Z")

</div>

Hi. Would it be possible to share an updated tutorial and example project? I followed the tutorial on Epic’s website: But half the scripts have broken links now.

---

## [Learning Agents: Trained in One Map, Fails in Another Map - Error Occurred](https://forums.unrealengine.com/t/learning-agents-trained-in-one-map-fails-in-another-map-error-occurred/2666500)

<div class="topic-metadata">

**Author:** [@RERocowolf](https://forums.unrealengine.com/u/RERocowolf)\
**Replies:** 2\
**Last updated:** [May 4, 2026, 3:50am UTC](https://forums.unrealengine.com/t/learning-agents-trained-in-one-map-fails-in-another-map-error-occurred/2666500 "2026-05-04T03:50:01Z")

</div>

Hello everyone, I’m encountering a generalization issue with the Learning Agents plugin in Unreal Engine 5.6.1 and would appreciate your help. Here is my detailed setup and the problem: Environment: Unreal Engine: 5…

---

## [LearningAgentsInteractor::SetActionVector , size check uses wrong getter](https://forums.unrealengine.com/t/learningagentsinteractor-setactionvector-size-check-uses-wrong-getter/2719428)

<div class="topic-metadata">

**Author:** [@AdyTheQueen2020](https://forums.unrealengine.com/u/AdyTheQueen2020)\
**Replies:** 1\
**Last updated:** [May 1, 2026, 5:36pm UTC](https://forums.unrealengine.com/t/learningagentsinteractor-setactionvector-size-check-uses-wrong-getter/2719428 "2026-05-01T17:36:43Z")

</div>

Hi, Spotted what looks like a copy-paste bug in Epic’s LearningAgentsInteractor.cpp inside SetActionVector: https://github.com/EpicGames/UnrealEngine/blob/13b6acfd6224d13e37e5c75e94415544116ca945/Engine/Plugins/Experim…

---

## [Learning Agents Issues Using 5090](https://forums.unrealengine.com/t/learning-agents-issues-using-5090/2708623)

<div class="topic-metadata">

**Author:** [@virtual\_gmk](https://forums.unrealengine.com/u/virtual_gmk)\
**Replies:** 1\
**Last updated:** [April 7, 2026, 12:59pm UTC](https://forums.unrealengine.com/t/learning-agents-issues-using-5090/2708623 "2026-04-07T12:59:26Z")

</div>

Hello, I’ve been following the Learn to Drive Learning Agents tutorial in Unreal Engine 5.5.4. I initially set up the project and tested it on a machine with an RTX 3080. As far as I can tell everything worked correctly…

---

## [Need an advice for reducing spatial observation size in LA framework observations.](https://forums.unrealengine.com/t/need-an-advice-for-reducing-spatial-observation-size-in-la-framework-observations/2705964)

<div class="topic-metadata">

**Author:** [@YoloSwaggerson](https://forums.unrealengine.com/u/YoloSwaggerson)\
**Replies:** 3\
**Last updated:** [March 25, 2026, 1:30pm UTC](https://forums.unrealengine.com/t/need-an-advice-for-reducing-spatial-observation-size-in-la-framework-observations/2705964 "2026-03-25T13:30:35Z")

</div>

Hello. I am trying to cook something with Learning Agents framework. I set up observations and actions and one of observations is a LIDAR-like observation to give an agent a spatial awareness. For that I do several grids…

---

## [Issue with array paging in LearningAgentsRecorder](https://forums.unrealengine.com/t/issue-with-array-paging-in-learningagentsrecorder/2705758)

<div class="topic-metadata">

**Author:** [@\_YAF\_Lightbringer](https://forums.unrealengine.com/u/_YAF_Lightbringer)\
**Replies:** 1\
**Last updated:** [March 23, 2026, 8:55pm UTC](https://forums.unrealengine.com/t/issue-with-array-paging-in-learningagentsrecorder/2705758 "2026-03-23T20:55:20Z")

</div>

There’s an issue in LearningAgentsRecorder.cpp:67 (UE 5.7.4 EOS, but I don’t think that file has changed much). The condition: if (StepNum / ChunkSize \<= Observations.Num()) is flipped and always true. Instead of allo…

---

## [Using Learning Agents to create a simple cube bot ](https://forums.unrealengine.com/t/using-learning-agents-to-create-a-simple-cube-bot/2696915)

<div class="topic-metadata">

**Author:** [@Lurkboii](https://forums.unrealengine.com/u/Lurkboii)\
**Replies:** 11\
**Last updated:** [March 15, 2026, 10:50pm UTC](https://forums.unrealengine.com/t/using-learning-agents-to-create-a-simple-cube-bot/2696915 "2026-03-15T22:50:32Z")

</div>

Greetings, fellow devs. I am doing some research into the capabilities of learning agents in various engines, currently dealing with UE5. I wanted to create a simple scenario: the agent is a cube, tasked with reaching a …

---

## [Learning Agents Inclusive Union Action Problem/Question](https://forums.unrealengine.com/t/learning-agents-inclusive-union-action-problem-question/2703592)

<div class="topic-metadata">

**Author:** [@YoloSwaggerson](https://forums.unrealengine.com/u/YoloSwaggerson)\
**Replies:** 2\
**Last updated:** [March 4, 2026, 3:28pm UTC](https://forums.unrealengine.com/t/learning-agents-inclusive-union-action-problem-question/2703592 "2026-03-04T15:28:30Z")

</div>

Hello. I faced a problem working with inclusive union actions when implementing Imitation Learning recording. I am working with stock UE 5.7.2. So my action schema currently looks like this: root: exclusive union (EU)…

---

## [Learning Agents Imitation Learning Recording logic question](https://forums.unrealengine.com/t/learning-agents-imitation-learning-recording-logic-question/2703594)

<div class="topic-metadata">

**Author:** [@YoloSwaggerson](https://forums.unrealengine.com/u/YoloSwaggerson)\
**Replies:** 3\
**Last updated:** [March 4, 2026, 2:43pm UTC](https://forums.unrealengine.com/t/learning-agents-imitation-learning-recording-logic-question/2703594 "2026-03-04T14:43:20Z")

</div>

Hello. I have a question about Imitation Learning Recording logic. So I basically went by “Learn to drive” LA tutorial. I am working on a stock UE 5.7.2. I have an IL recording manager that in each update calls ULearni…

---

## [Learning-Agents with C++ in UE 5.7.1 LearningAgentsPPOTrainer derived class will not build](https://forums.unrealengine.com/t/learning-agents-with-c-in-ue-5-7-1-learningagentsppotrainer-derived-class-will-not-build/2687493)

<div class="topic-metadata">

**Author:** [@theseus2703](https://forums.unrealengine.com/u/theseus2703)\
**Replies:** 1\
**Last updated:** [December 24, 2025, 9:14pm UTC](https://forums.unrealengine.com/t/learning-agents-with-c-in-ue-5-7-1-learningagentsppotrainer-derived-class-will-not-build/2687493 "2025-12-24T21:14:03Z")

</div>

Hello and merry chistmas :stuck\_out\_tongue: I was creating a new blank C++ Project in UE 5.7.1 and enabled the Learning-Agents Plugin. When i tried to add a C++ class with parent class LearningAgentsPPOTrainer, the cla…

---

## [what could cause a Learning Agents Network & Schema Mismatch without changing anything](https://forums.unrealengine.com/t/what-could-cause-a-learning-agents-network-schema-mismatch-without-changing-anything/2676853)

<div class="topic-metadata">

**Author:** [@Rewirdev](https://forums.unrealengine.com/u/Rewirdev)\
**Replies:** 0\
**Last updated:** [November 20, 2025, 12:58pm UTC](https://forums.unrealengine.com/t/what-could-cause-a-learning-agents-network-schema-mismatch-without-changing-anything/2676853 "2025-11-20T12:58:16Z")

</div>

What would cause a Network Hash & Encoder Hash mismatch from training to inference, when I haven’t actually changed anything in the blueprints? Everything was running fine until this morning; all of a sudden regardless …

---

## [Failed load model to Learning-Agents](https://forums.unrealengine.com/t/failed-load-model-to-learning-agents/2669619)

<div class="topic-metadata">

**Author:** [@RERocowolf](https://forums.unrealengine.com/u/RERocowolf)\
**Replies:** 5\
**Last updated:** [November 14, 2025, 12:24pm UTC](https://forums.unrealengine.com/t/failed-load-model-to-learning-agents/2669619 "2025-11-14T12:24:36Z")

</div>

Hello everyone, I’m trying to replace the internally generated Critic network in UE5’s Learning-Agents plugin with an external ONNX model exported from PyTorch. I’ve made some modifications but am running into a crash a…

---

## [Critical omission in the 5.5 version tutorial for Imitation Learning with Learning Agents](https://forums.unrealengine.com/t/critical-omission-in-the-5-5-version-tutorial-for-imitation-learning-with-learning-agents/2547733)

<div class="topic-metadata">

**Author:** [@Countsie](https://forums.unrealengine.com/u/Countsie)\
**Replies:** 1\
**Last updated:** [October 27, 2025, 10:49pm UTC](https://forums.unrealengine.com/t/critical-omission-in-the-5-5-version-tutorial-for-imitation-learning-with-learning-agents/2547733 "2025-10-27T22:49:07Z")

</div>

If you are following this tutorial, you will run into an issue setting up your Imitation Trainer: It’s not shown in the tutorial, but you will need to set up a process and communicator as the previous tutorials show wh…

---

## [How can I run Learning Agents inference on GPU? Is it possible to switch the NNE runtime provider through Blueprints, or does this require a C++ implementation? ](https://forums.unrealengine.com/t/how-can-i-run-learning-agents-inference-on-gpu-is-it-possible-to-switch-the-nne-runtime-provider-through-blueprints-or-does-this-require-a-c-implementation/2651207)

<div class="topic-metadata">

**Author:** [@ritzdzire](https://forums.unrealengine.com/u/ritzdzire)\
**Replies:** 2\
**Last updated:** [August 31, 2025, 8:28pm UTC](https://forums.unrealengine.com/t/how-can-i-run-learning-agents-inference-on-gpu-is-it-possible-to-switch-the-nne-runtime-provider-through-blueprints-or-does-this-require-a-c-implementation/2651207 "2025-08-31T20:28:43Z")

</div>

How can I run Learning Agents inference on GPU? Is it possible to switch the NNE runtime provider through Blueprints, or does this require a C++ implementation?

[Next page](https://forums.unrealengine.com/tag/learning-agents/11468.md?match_all_tags=true&page=1&tags%5B%5D=Learning-Agents)
