Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3.15f1
2019.4
2019.4.23f1
2020.2
Issue ID
1322796
Regression
Yes
Script components disappear from a prefab's Inspector window when recompiling scripts
Reproduction steps:
1. Open the user's attached project "PrefabsHello.zip"
2. In the Project window select "PrefabA" prefab
3. Notice two PrefabA's script components "Script A" and "Script B" in the Inspector window
4. Open script "Script A", make a change inside the script, and save it
5. Go back to the Editor
Expected result: After recompiling both "Script A" and "Script B" script components are visible in the Inspector window
Actual result: After recompiling both "Script A" and "Script B" script components disappear in the Inspector window
Reproducible with: 2019.3.15f1, 2019.4.23f1, 2020.2.5f1
Not reproducible with: 2018.4.33f1, 2019.3.14f1, 2020.2.6f1, 2020.3.1f1, 2021.1.0f1, 2021.2.0a10
Notes:
-After re-selecting the prefab the scripts appear
-The issue reproduces if "Script B" is changed as well
-The issue only reproduces when the script components are on a Prefab
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note (fix version 2020.2):
Fixed in 2020.2.6f1