Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2020.1.0f1
2020.2
Issue ID
1268965
Regression
No
'Can't add script' pop-up warns about abstract classes when dragging static classes onto GameObjects
How to reproduce:
1. Create a new Unity project
2. Create a new script that only contains an empty static class
3. Drag the script onto a GameObject
Expected result: the pop-up warns about static classes: "...The script class can't be static!"
Actual result: the pop-up warns about abstract classes: "...The script class can't be abstract!"
Reproducible with: 2018.4.26f1, 2019.4.8f1, 2020.1.2f1, 2020.2.0a10
Not reproducible with: 2020.2.0a11, 2020.2.0a20
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
- A particle is not rendered for the first frame when the duration and lifetime values match
- The "Target" Source Template is missing when using the Unity JetBrains.Annotations library subset
- [OpenXR][HDRP] XR Fails to initialize and black screen is present when waking up the HMD with DLSS enabled
- Baked reflection color of clouds does not match the Scene sky color when generating lighting in Unity
- The sampling result will have black artifacts when using URP Sample Buffer with UV value set to 1
Resolution Note (fix version 2020.2):
Message changed in 2020.2.0a11