This issue makes BP BT decorators not being able to run condition checking every tick.
The core issue is here:
bool UBTDecorator_BlueprintBase::GetShouldAbort(UBehaviorTreeComponent& OwnerComp) const { // if there's no condition-checking function implemented we always want to abort on any change if (PerformConditionCheckImplementations == 0) { return true; } const bool bIsOnActiveBranch = OwnerComp.IsExecutingBranch(GetMyNode(), GetChildIndex()); bool bShouldAbort = false; if (bIsOnActiveBranch) { bShouldAbort = (FlowAbortMode == EBTFlowAbortMode::Self || FlowAbortMode == EBTFlowAbortMode::Both) && CalculateRawConditionValueImpl(OwnerComp) == IsInversed(); } else { bShouldAbort = (FlowAbortMode == EBTFlowAbortMode::LowerPriority || FlowAbortMode == EBTFlowAbortMode::Both) && CalculateRawConditionValueImpl(OwnerComp) != IsInversed(); } return bShouldAbort; }
bIsOnActiveBranch ends up being false when there are more then one BP decorator on BT's first level
1. open a project containing AI
2. make an AI use the BT that has been attached to the ticket
Is: BT prints debug info on screen every 5 seconds
Should be: printing every frame.
Request a info about UE-127172 bug tracker
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How do I set a material as a post-processing material?
How does TextureRenderTarget2D get TArray<uint8> type data?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
What controls of umg have mouse wheel events in UE4.27?
How to implement springarm components to scale according to mouse position in spawn?
Head over to the existing Questions & Answers thread and let us know what's up.