Reproduction steps:
1. Open the “BuildTargetBug“ project
2. In Project Browser select the “NewBuildTarget“ ScriptableObject
3. In Inspector open the Build Target dropdown and select any option (e.g. “Android”)
4. Right-click the Build Target property and select Copy
5. Paste it somewhere
Expected result: The selected Build Target is pasted (e.g. “Enum:Android”)
Actual result: The pasted value is not the selected Build Target (e.g. “Enum:Standalone OSX“)
Not reproduced in: 2021.3.27f1, 2022.2.20f1, 2023.1.0b17, 2023.2.0a20
Reproduced in: 2022.2.21f1, 2022.3.2f1, 2023.1.0b18, 2023.1.0f1, 2023.2.0a19
Reproduced using: Windows 10, macOS 13.4 (Intel)
Notes:
1. Also reproduced with GameObjects
2. Also reproduced in runtime
3. Not reproduced with “No Target”