- edited description
Required attribute not work on Lists
Issue #583
new
Required attribute work on single element but not work on arrays and Lists.
Expected: each list element becomes required, or some error shown if attribute should not be applied to Lists.
Actual: no errors
public class Demo : MonoBehaviour
{
[Required] public GameObject requiredElement; // work
[Required] public GameObject[] requiredArrayElements; // not work
}
Unity 2019.1, Odin Inspector Source Code, Windows 10
Comments (1)
-
reporter - Log in to comment