This repository was archived by the owner on May 9, 2025. It is now read-only.

Description
Hi, if I try to cleanup a Variable by setting null value, it raises NullPointerException.
I've fixed this issue changing in BaseVariable.cs:
public override T SetValue(T value)
{
T oldValue = _value;
T newValue = base.SetValue(value);
if(newValue != null && !newValue.Equals(oldValue)) // <---- This, null check
{
_event.Invoke(newValue);
}
return newValue;
}
Maybe it could be added to the code? :)