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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2020.2):
Fixed in 2020.2.6f1