Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. In the Hierarchy Window, select “Sphere” GameObject
4. In the Inspector Window, under the “Test (Script)” Script component, observe the “Platform” Property
5. Enter the Play Mode
6. Observe the Console Window
Expected result: The first log displayed matches the value set to the “Platform” Property
Actual result: The first log displayed does not match the value set to the “Platform” Property and instead displays a different Platform
Reproducible with: 2021.3.27f1, 2022.3.2f1, 2023.1.0f1, 2023.2.0a19
Reproducible on: Intel MacOS 13.4
Notes:
- In the 2021.3.27f1 version, the issue is visible but if you select a different platform, the issue disappears
- Downgrading the project to the 2021.3.27f1 version and upgrading it to any other makes the project behave identically to the 2021.3.27f1 version