Reproduction steps:
1. Open the attached “bug-report-project.zip” project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Make sure that the option reload domain is turned off (Project Settings > Editor > Enter Play Mode Settings)
3. Enter the Play Mode
4. Exit the Play Mode
5. Enter the Play Mode again
6. Observe the Console window
Expected result:
===1===
0
1
===2===
0
1
Actual result:
===1===
2
1
===2===
1
2
Reproducible with: 2021.3.46f1, 2022.3.52f1, 6000.0.29f1, 6000.1.0a7
Reproducible on: Windows 11
Not reproducible on: No other environment tested