Utility for checking serializable types in a Unity project against the maximum depth requirement