Unreal AI Blackboard broken on PC Build

I have found a bug in Unreal version 4.10.2 related to the Blackboard.

When I was testing my character in the editor, it worked the way it was supposed to. When I tested it on a console build, it also worked exactly the way it was intended. However, on the PC build, it stopped working. After about 3 hours of debugging I’ve found the cause of this.

In my character, I set a blackboard key called hasSpottedPlayer to true once the player was spotted using PawnSensing. I was using the following code to set the Blackboard variable within the Character:

Then to set the value I was using this:

This works in the editor as well as on a console build, but it broke in a PC build. I’ve now replaced the Blackboard initialization code from the Character class to this in the AI Controller.

This works in the editor, on a PC build and on a console build.

So, for some reason, getting the AI controller and then the blackboard from that is broken on PC.

Hello,

I’ve attempted to reproduce your issue, but I saw it working in my Windows build. What are your packaging settings exactly in the build where you are seeing it not function as expected?

Also, do you have any steps I can follow to reproduce this issue consistently on my end?

Thank you.

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day