ValidationRunner doesn't recursively search into arrays or lists

Issue #499 resolved
Jeremy Swigart created an issue

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

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

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 (1)

  1. Tor Esa Vestergaard

    It does search into arrays and lists, but it doesn't currently search recursively into UnityEngine.Object references that it finds.

  2. Log in to comment