Blackboard decorator float arithmetic condition "on result change" observer notification problem

Blackboard decorator float arithmetic condition “on result change” observer notification doesn’t abort on result change.
It aborts on value change.

Hello parabolainteractive,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed set of steps in order to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints/Behavior trees/Blackboards that may be involved?
  4. Was this project upgraded from an older version of the engine?

Hi Rudy,

Many thanks for your response!

  1. I was not able to reproduce it in clean project. Everything worked fine.

  2. This is the blackboard state and behavior tree screenshot:

Decorator at 1) is set notify on result change and abort both.

1st selector in main sequence with the decorator above passes, then it moves to node 2) where the move consumes the stamina visible in blackboard at 3). the result is still true since the value of stamina is still greater than 0 but it keeps aborting and starts from beginning, so it keeps on firing node at 1) and instantly right after that node at 2). This loops until the stamina goes below 0.

Stamina value is set in C++ AIController derived class Tick method on every tick and just slowly decreases it’s value while running.

  1. Yes, this project was started at 4.6 and was updated with all stable updates available.

Any idea what might be the problem? Thanks for your help!

Hello parabolainteractive,

If you are unable to reproduce this issue in a clean project, it may due to some stale code that is conflicting with the new version of the engine due to code changes between versions. I would try and create new assets within the project itself or in a clean project and migrate them over to see if I could get a working version.

Hello parabolainteractive,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.