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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 2020.2):
Fixed in 2020.2.6f1