Steps to reproduce:
1. Open the “retest1” project
2. Select “asseta” ScriptableObject in Assets folder
3. In the Inspector window change Sub property to “ “ ScriptableObject
4. Build and run the project
5. Close the built project
6. Observe Player.log file where the lines start with “Loaded component A”
Expected result: Both return loaded components as “non-null” true
Actual result: The first loaded component is “non-null” false, and the other one is true
Reproducible with: 1.0.0-pre.15 (2022.2.1f1, 2023.1.0a24)
Could not test with: 2020.3.43f1, 2021.3.16f1 (1.0.0 Entities package is not supported)
Reproduced on: macOS Monterey 12.2 (Intel)
Note: The issue is only reproducible in a build