Inherited BlackboardVariables not assignable in BT editor

Inheriting from some node type does not allow inherited BlackboardVariable fields to be assignable in the node inside the Muse Behavior graph editor. Examples below:

[Serializable]
[NodeDescription(name: "Test", story: "something about [Time] etc", category: "Action", id: "fb6a30196469ce098ca4be5ea8c4c422")]
public class Test : Action
{
    public BlackboardVariable<float> Time;
}

[Serializable]
[NodeDescription(name: "InheritedTest", story: "some [Time] and [Stuff]", category: "Action", id: "d59317fd532e3b564e8c03d9528cf828")]
public class InheritedTest : Test
{
    public BlackboardVariable<int> Stuff;
}

image

As you can see from the code, the bottom node (InheritedTest) inherits from the top (Test). It’s story should ideally include the Time variable that it inherited from the Test action. It does not, the variable is not even assignable in the node’s inspector

Hey @theboxfriend , I’ll get it fixed for our next big release! Thanks for the report :slight_smile:

Hi @theboxfriend , I can confirm I fixed this for the next big release :slight_smile:

1 Like