Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.1.6f1
2019.2.0a1
2019.3.0a1
Issue ID
1164970
Regression
No
AssetPreview.GetMiniTypeThumbnail returns null for MonoBehaviour and custom script types
How to reproduce:
1. Open the attached project ("case_1164970-GetMiniTypeThumbnailReturnsNullForMonoBehaviour.zip")
2. Open the repro scene ("SampleScene")
3. In the Hierarchy, select "Canvas" object
4. Click on "Get Mini Type Thumbnails" button in "Test Script" component
5. Inspect the console
Expected results: AssetPreview.GetMiniTypeThumbnail returns MonoBehaviour's thumbnail
Actual results: AssetPreview.GetMiniTypeThumbnail returns null
Reproducible with: 2017.4.291, 2018.4.3f1, 2019.1.8f1, 2019.2.0b8, 2019.3.0a7
Comments (1)
-
Kamyker
Feb 21, 2020 20:35
If MonoBehaviour has custom icon it also returns null ;/
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
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
- UxmlNamespacePrefix does not apply when using UIBuilder documents
Resolution Note (2019.3.X):
low priority and unlikely to be resolved for the moment.