Reproduction steps
- Open the attached “Repro“ project
- Open the “Assets/Scenes/SampleScene.unity“ Scene
- Select the “TestObject“ GameObject in the Hierarchy
- Observe the “Main Player“ Script Component’s fields in the Inspector
- Select “PackageManagerTest > Client.Add(1.4.6)“ in the Menu Bar
- Observe the “Main Player“ Script Component’s fields in the Inspector
Expected result
“Player Name“ field has been added
Actual result
Nothing changed, no new fields are present
Environment
- Reproducible with: 2022.3.0f1, 2022.3.19f1, 2023.2.8f1, 2023.3.0b5
- Not reproducible with: 2021.3.34f1, 2022.2.21f1
- Reproducible on: Windows 11 (22H2)
- Not reproducible on: No other environment tested
Note
Entering the Play Mode fixes the issue