Search Issue Tracker
Fixed in 2017.1.X
Votes
1
Found in
5.5.1f1
Issue ID
875511
Regression
No
AssetDatabase.GetMainAssetTypeAtPath returns MonoBehaviour for ScriptableObjects
Steps to reproduce:
1. Open the attached project (GetMainAssetTypeAtPath Bug.zip)
3. Click on Menu bar -> Test -> Test
4. Observe the Console Window
Expected result: Editor returns the UnityEngine.GUISkin for ScriptableObjects
Actual result: Editor returns the UnityEngine.MonoBehaviour for ScriptableObjects
Reproduced with: 5.4.5p1, 5.5.3p2, 5.6.0p2, 2017.1.0b1
Fixed in: 2017.1.0b9
Backported to: 5.6.2p1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture Map Viewer shows "Loading..." text instead of indicating users that Baked Texture Maps are missing
- "Analyze Import Process" button misaligned in Import Activity window
- Text in “Baked Shadowmask” mode is difficult to read in Baked Lightmap Viewer when Editor theme is set to Light
- Mesh wireframe is difficult to see in Baked Lightmap Viewer window when texture opacity is maximized
- Informational text does not wrap and does not fit when the Viewer Window is opened by default
Add comment