Description

This is in general not encouraged, but should not crash.

The reason it's crashing is that in UBehaviorTreeComponent::Tick we process node ticks first and then try to access InstanceStack[ActiveInstanceIdx], but if any of node-related code results in calling StopTree the InstanceStack gets cleared and accessing the array simply crashes.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - AI
Affects Versions4.74.8
Target Fix4.8
Fix Commit2535527
Release Commit2538990
CreatedApr 30, 2015
ResolvedMay 4, 2015
UpdatedApr 27, 2018
View Jira Issue