FlowScript and Prefabs variants loose the Blackboard

NodeCanvas Forums Support FlowScript and Prefabs variants loose the Blackboard

This topic contains 8 replies, has 3 voices, and was last updated by  Gavalakis 1 month, 1 week ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #14079

    digixart
    Participant

    Hello!

    We have an issue with the prefab workflow and the blackboard. We have an interaction prefab with a flow script controller and a blackboard on it. Both Bound and Asset flow graph have the issue.

    When we create a prefab variant, the blackboard is reseted (on the variant only). Even if we put back the variables in the blackboard they still disapear.

    Do you have any ideas on how to fix it?

    Thanks and have a good day.

    Attachments:
    You must be logged in to view attached files.
    #14082

    digixart
    Participant

    UP! This is a very important issue for us 🙂

    #14097

    Gavalakis
    Keymaster

    Hello and sorry for the late reply!
    Can you please let me know the exact steps to reproduce this problem?
    This is what I have tried and seems to not reset the variables:

    1. I created a prefab asset (with a blackboard) and added some variables.
    2. I create a prefab variant from that prefab asset in the project (right click -> create -> prefab variant) and added some extra variables.
    3. The original prefab’s variables are not reset on the variant and seem to be retained.

    Using Unity 2018.3.0f2

    Please let me know of the steps to reproduce!
    Thank you!

    #14106

    digixart
    Participant

    Hi. Thanks for your answer. I made a video with the repro steps.

    Dont hesitate if you have any question. I’m available on Skype also if you want.

    #14107

    otaviosoato
    Participant

    I have the same issue here!

    #14116

    digixart
    Participant

    Up ! 🙂

    #14124

    Gavalakis
    Keymaster

    Hello,
    Sorry for the late reply and thanks for the video.
    I can confirm that this happens on the latest version of Unity 2018.3.6f1, while it does not happen in for example version 2018.3.0f2 …

    Thus, aparently, Unity is still changing things as far as the new prefab system and their serialization goes to a point that it gets anoyingly inconsistent unfortunately :/ . I need to dig into this some more and find what could be causing this, or if maybe its a Unity bug introduced in latest Unity version, because the Blackboard serialization if actually very simple, just using the Unity OnBeforeSerialize and OnAfterDeserialize callbacks. Nothing really fancy.

    Thanks for letting me know!

    #14126

    digixart
    Participant

    Hello.

    Thanks for your answer. Please keep us informed asap, as it’s a very big issue for us and really breaks our workflow.

    If you find any workaround or fix, please let us know.

    Thanks again.

    #14156

    Gavalakis
    Keymaster

    Hello again and sorry for the late reply due to website migration.

    I can confirm that it was a Unity bug. I’ve just downloaded and tested Unity 2018.3.8f1 and everything seems to be working once again without any issues 🙂

    Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.