Reproduction steps:
1. Open the user’s attached project
2. In the Hierarchy window select the “Outer” object and step into the prefab
3. Under the “Outer” object select the “Inner” object
4. In the Inspector window add “Script1” and “Script2” components to the “Inner” object
5. Step into the “Inner” prefab
6. Add “Script1” and “Script2” components to the “Inner” object
7. Step out from the “Inner” prefab
Expected result: There are four components added to the “Inner” object
Actual result: There are only two components on the “Inner” object and when removing one of the components the hidden component shows up
Reproducible with: 2022.1.0b3, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Not reproducible with: 2020.3.40f1, 2021.3.10f1, 2022.1.0b2
Reproducible on: macOS 12.6, Windows 10