Bug with Blackboards

FlowCanvas Forums Support Bug with Blackboards

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2614
    Kenny
    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.

    blackboard-bug

    Attachments:
    You must be logged in to view attached files.
    #2618
    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!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2621
    Kenny
    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.