When duplicating a blackboard asset, the values are not updated in the runtime asset

Hello, I’m encountering a bug when duplicating blackboards. How to reproduce:

  1. Duplicate a blackboard with existing variables and rename it
    (Note that at this point, the asset inside the blackboard asset still has the old name)
  2. Open the new blackboard, delete all the old variables
  3. Close the blackboard and watch the asset inside the asset being renamed
  4. Open again and create a new variable, float for example and change the value to something other than 0, close.

Expected behavior:
When using the blackboard asset in the playgraph, the number will be what you put in

What’s happening:
The value of the blackboard asset when opening, is different from the value displayed in the runtime blackboard asset. (print below)

Hi @CanvasDEV ,

Thank you for the report and sorry for the issue!

Just to confirm:

  1. The issue is the runtime value is not being updated correctly with the authoring value?
  2. Are you renaming the duplicated blackboard asset or the variable inside of it?
  3. Is the duplication required for the repro steps then?
  4. Is the deletion of the old variables required for the repro?

Thank you!

Oh, another piece I forgot: Does the issue still remain when you enter play mode? It could be we’re delaying updating the runtime asset due to serialization costs until certain points

Sorry for the delay, @ShaneeNishry
I did more tests here:

  • I created a blockboard asset from the asset menu, it worked normally
  • Duplicated the new blockboard, without deleting the old variables, worked normally
  • I placed the new blackboard in a playergraph, and edited the value through the direct field of the playergraph, without opening the authoring, it didn’t work this time.
    Then I realized that it’s not about duplicating, but about saving inside the playergraph, here’s a more informative print:

So answering your questions:

  1. Yes
  2. blackboard asset
  3. No
  4. No
  5. Yes