Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the issue does not warrant any further changes.
The issue is fixed in Unity 6 and 2023.3. In previous affected version, such as 2022.3 deleting the Library folder and reloading the project will fix the issue.