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
- "The referenced script (Unknown) on this Behaviour is missing!" warning is thrown on SceneIDMap when using a built-in template from HDRP
- Error "UXML validation error: Line 3, Position 6: The element 'VisualElement' in namespace 'UnityEngine.UIElements' has incomplete content." is present when running the test for Schema Definitions
- The light range of HDRP realtime spot lights is halved when HDRPAsset Lit Shader Mode is set to Forward or Both
- Shortcut is set for the wrong function when changing multiple shortcuts
- "[CreateProperty]" on nullable generic types causes compilation error when using a non-nullable type
Resolution Note (2019.3.X):
low priority and unlikely to be resolved for the moment.