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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note (2019.3.X):
low priority and unlikely to be resolved for the moment.