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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2020.2):
Fixed in 2020.2.6f1