Bug with Blackboards

Forums 💬 FlowCanvas ⚙️ Support Bug with Blackboards

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12571
    kesha
    Participant

      Hello when I try to insert a blackboard from another game object, the list of boards from the scene and assets is empty. Thanks.

      [attachment file=”blackboard bug.jpg”]

      #12573
      Gavalakis
      Keymaster

        Hello,

        This is indeed the case and a known thing, albeit not really a bug. The reason is that the object field there is an interface (IBlackboard), but Unity ObjectField inspector does not really support interfaces 🙁 This is why Unity does recognize other blackboards that do exist in the scene (even though of course all blackboards implement IBlackboard).

        Until Unity fixes that, the only real way now is to:

        1. “lock” the Unity inspector.
        2. Create another Unity inspector in some other tab.
        3. Directly drag and drop the Blackboard Component you want into the field.

        I could probably make the field an “Object” type to avoid this hassle, even though it’s not really correct and I’d much prefer if Unity simply supported interfaces for Object Fields inspectors like this :-/

        Let me know if the workaround works for you.

        Thank you!

        #12572
        kesha
        Participant

          Thanks workaround works.Good luck

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.