NullReferenceException raised on BehaviorDesigner.Editor.ExternalBehaviorInspector.Reset ()

AIGuru

New member
Hi!

I'm creating a custom task referencing a "public ExternalBehaviorTree" attribute that is filled by the inspector.

I'm getting "NullReferenceException: Object reference not set to an instance of an object" on BehaviorDesigner.Editor.ExternalBehaviorInspector.Reset () when selecting a "None" asset. Since I don't have access to BehaviorDesigner.Editor. stuff, I don't know exactly why the ExternalBehaviorInspector doesn't like being set to "None".

Any idea?

Thanks!
 
What do you mean by selecting a "None" asset? Can you create a smalll repro task that has the exception?
 
While trying to get you a simple repro I found the issue and it wasn't related to BehaviorDesigner.Editor.ExternalBehaviorInspector.Reset(). I was able to fix it on my end.
 
Top