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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note (2019.3.X):
low priority and unlikely to be resolved for the moment.