Recursive serialization manual limit

I have a tree of objects that I set up as a serializable class, containing each a list of elements of the same type. In theory, such a tree could go on indefinitely, which leads Unity to freak out and give me its “Serialization depth limit 7 exceeded” warning message. In practice, however, I know I’ll never go beyond 3 levels at worst. Is there some way to notify the editor of this so that it stops fretting about it? Or should I just ignore the warning? Thanks.

There is no way to disable this warning, and while you could ignore it, the recommended way of approaching this situation is to serialize identifiers of other nodes in your tree. You can see my answer here for an example.