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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version 2020.2):
Fixed in 2020.2.6f1