ValidationRunner doesn't recursively search into arrays or lists

Issue #499 new
Jeremy Swigart
created an issue

A SerializedScriptableObject derived objects with array or list fields, such as

[OdinSerialize]
public TestScriptableObject[] ObjectArray { get; protected set; }

[OdinSerialize]
public List<TestScriptableObject> ObjectList { get; protected set; }

If you run the validationrunner on it, the objects referenced by the arrays/lists will not be explored/validated

var runner = new ValidationRunner();
var results = runner.ValidateUnityObjectRecursively(this);

Comments (0)

  1. Log in to comment