Reproduction steps:
- Open the attached project
- Observe the “Main Camera” GameObject’s position in the Game View or the Scene View
- Select the Debug Button in the bottom right of the Unity Editor Status Bar
- Select “Switch to debug mode”
- Observe the “Main Camera” GameObject’s position in the Game View or the Scene View
Expected result: The “Main Camera” GameObject is further away from the cube when the Editor is in Release mode
Actual result: The “Main Camera” GameObject is inside the cube when the Editor is in Release mode
Reproducible with: 2021.2.0a14, 2021.2.19f1, 2021.3.7f1, 2022.1.11f1, 2022.2.0a18, 2023.1.0a1, 2023.1.0a4
Not reproducible with: 2019.4.40f1, 2020.3.37f1, 2021.2.0a13, 2022.2.0a19, 2022.2.0b3
Reproducible on: M1 MacOS 12.4 (21F79)
Not reproducible on: Intel MacOS 12.4
Note: This issue is only reproducible on the Intel Editors running through Rosetta on M1 MacOS