CheckDistanceCondition throws exception instead of failing

Line 22 in CheckDistanceCondition.cs states:

if (Transform.Value == null || Target.Value == null)

However, if the Target variable is not set, trying to access Target.Value results in NullReferenceException being thrown from the blackboard variable caster.

I have found no way to check if BlackboardVariable<Transform> is properly set.

Hi,

I’ve had a quick look at this and it seems to be working as expected in my test graph. Did you get this exception after deserialization or anything like that?

Thanks,

I’ve been assured this has been fixed and will ship in 1.0.4.

Thanks