active-logic / activelogic-cs

Behavior Trees and Case Logic for C#7
GNU Affero General Public License v3.0
106 stars 7 forks source link

Exiting a stacked BT may cause premature completion #86

Open eelstork opened 2 years ago

eelstork commented 2 years ago

In a typical case you create a BT (say 'A') with its agent set to loop = false. Then you stack another BT (say 'B') When B returns done, the agent will disable. However continuation is expected until the root BT has returned done.

Tried patching this in UGigAdapter. Works, mostly; however this is hackish and does not resolve the actual issue.

eelstork commented 2 years ago

The patch I've been using is an actual fix; will push.