Hello, working on a custom action I found myself in need of a LayerMask variable.
public BlackboardVariable<LayerMask> Mask;
Doesn’t work - I get an error:
NullReferenceException: Object reference not set to an instance of an object
Unity.Muse.Behavior.LinkFieldUtility.CreateNodeLinkField (System.String label, System.Type type) (at ./Library/PackageCache/com.unity.muse.behavior/Runtime/UI/LinkFieldUtility.cs:25)
Unity.Muse.Behavior.BehaviorGraphNodeInspectorUI.CreateField (System.String fieldName, System.Type fieldType) (at ./Library/PackageCache/com.unity.muse.behavior/Runtime/Execution/NodeInspector/BehaviorGraphNodeInspectorUI.cs:160)
Unity.Muse.Behavior.BehaviorGraphNodeInspectorUI.FindAndCreateField (System.String fieldName, Unity.Muse.Behavior.NodeInfo nodeInfo) (at ./Library/PackageCache/com.unity.muse.behavior/Runtime/Execution/NodeInspector/BehaviorGraphNodeInspectorUI.cs:150)
Unity.Muse.Behavior.BehaviorGraphNodeInspectorUI.CreateFields () (at ./Library/PackageCache/com.unity.muse.behavior/Runtime/Execution/NodeInspector/BehaviorGraphNodeInspectorUI.cs:135)
Unity.Muse.Behavior.BehaviorGraphNodeInspectorUI.Refresh () (at ./Library/PackageCache/com.unity.muse.behavior/Runtime/Execution/NodeInspector/BehaviorGraphNodeInspectorUI.cs:92)
Unity.Muse.Behavior.BehaviorGraphNodeInspectorUI..ctor (Graph.NodeModel nodeModel) (at ./Library/PackageCache/com.unity.muse.behavior/Runtime/Execution/NodeInspector/BehaviorGraphNodeInspectorUI.cs:81)
Presumably this type isn’t supported yet, the question is will it be and can I extend it myself somehow?
Thanks.