Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the Package Manager window (Window > Package Manager)
3. Select the Authentication package and import the “UI Example“ (Samples > Import)
4. Open the “Assets/Samples/Authentication/3.3.0/UI Example/UnityPlayerAccountsUIExample” Scene
5. In the Hierarchy window, select “CloudDiagnosticsUserReportingSceneHelper” GameObject
6. Observe the Inspector window
Expected result: There is a script component added and loaded
Actual result: The script component is added, but its reference is missing
Reproducible with: 3.1.0 (2021.3.35f1, 2022.3.20f1, 2023.2.6f1, 2023.3.0a16), 3.3.0 (2021.3.35f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b7)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: The affected scene was only added from the 3.1.0 version onwards