Question about modifying Shared Blackboard assets at runtime

.

Question about modifying variables in Shared Blackboard assets at runtime.
I thought this was something that could be used for Global purposes (which feels similar to SO or Staitc value)
I’ve tried changing the value of this in Script, but it doesn’t seem to be updated in Graph

Here is a simple example

By default, TestValue is 1.

TestValue.Value = 30; In Action OnUpdate
(and Debug Log)

It looks TestValue changed 1 to 30

But in Graph,


TestValue is 1 (not changed)

Was this intended or did I get something wrong?


After using it a little bit more,
The values displayed on Graph Blackboard seem to display only the initial values.
(not just shard blackboard)
If the variable is “expose”,
I was able to check the real-time value in the unity inspector.

But how do I check the value of Shared Blackboard’s runtime value?

Hello Seoyeon,

Sorry for taking so much time to reply on this one. We actually discussed this issue quite a lot with the team and found even more issues around that area.

For now the recommended approach to display the value of a shared BBV (Blackboard Variable) is using the LogVariable node.

In the future we want to improve the debugging to reflect the blackboard value of the attached agent (and more with contextual tooltips).

Sorry for the inconvenience and thank you for your patience :bowing_man:

2 Likes