Description

The crash log shows Error: Ensure condition failed: MyMemory->RequestID != INDEX_NONE [UE5\Engine\Source\Runtime\AIModule\Private\BehaviorTree\Services\BTService_RunEQS.cpp] [Line: 93]. Other logs have shown there to be failures in the check(MyMemory) as well.

The crash appears to be happening if the EQS request of the service is finished on the same frame that the associated BT is stopped. The EQS service node tries to abort the query during OnCeaseRelevant so that OnQueryFinished will early out as the result was aborted. However, the EQS manager only checks entries in the RunningQueries TArray when attempting to abort a query, and since the query has finished in this frame, it is not found in the array of running queries.

The user reports that it has happened within 3 hours of their server running, but they have had occurrences where it does not happen despite the server running for multiple days.

Steps to Reproduce

Currently, trying to identify steps with licensee for a consistent repro.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-200115 in the post.

1
Login to Vote

Fixed
ComponentUE - AI - BehaviorTree
Affects Versions5.3.2
Target Fix5.5
Fix Commit29644099
Main Commit29644099
CreatedNov 9, 2023
ResolvedApr 3, 2024
UpdatedMay 10, 2024
View Jira Issue