Animator Controller reports a transition error which I think is a Unity Bug

I’m using Unity 2022.3.50f1.

I’ve got an animator controller. With a Layer named “Override”. I’ve got an state named Empty, in this Override Layer. I’ve got also a SubState Machine inside Override Layer. I’ve got a transition from a substate state to the Override.Empty state in the parent layer.

All of this is working pretty well in Unity Editor and in the PS5. But Unity is reporting in the console I’ve got an error.

Asset ‘Humanoid’: Transition ‘Riposte Light Sword → Empty’ in state ‘Riposte Light Sword’ transitions to state ‘Empty’ which does not exist in controller.
UnityEditor.EditorApplication:Internal_RestoreLastOpenedScenes ()

As console reports Empty state does not exist in SubState Machine, but exists in Override layer. In fact if I press with mouse in the transition name in the inspector I perfectly see the transition goes from Override.Substate.StateName → Override.Empty You can take a look to this in the attached images.

So I think internal declaration is OK, animator is working ok, but some kind of validation in the animator controller is being reported as an error in the console.

Thanks in advanced.