Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0a5
Issue ID
971165
Regression
Yes
[SpriteShapeProfile] NullReferenceException thrown on creating asset in Project Panel
Null Reference Exception is thrown on creating Sprite Shape Profile asset in Project Panel.
Steps to Reproduce:
1. Create a new project.
2. Import attached "2D-spriteshape-master.zip" file into the project panel.
3. Create "SpriteShapeProfile" asset in Project Panel. Create >> Sprite Shape Profile >> Empty/Strip/Shape.
Note : "NullReferenceException" spamming the console window.
Reproduced On: 2018.1.0a5
Working fine On: 2017.3.0b10 , 2018.1.0a4
Regression On: 2018.1.0a5
Notes:
- Appears on both Mac and Windows
- Appears always
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.U2D.EditorGUIReflection.GetCurrentInspectorWindow () (at Assets/2d-spriteshape-Unity-2017.3-bc7b73caf0a872fa0a45a6532c16847536db60d7/Editor/EditorGUIReflection.cs:62)
UnityEditor.U2D.SpriteShapeEditor.OnInspectorGUI () (at Assets/2d-spriteshape-Unity-2017.3-bc7b73caf0a872fa0a45a6532c16847536db60d7/Editor/SpriteShapeEditor.cs:167)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at /Users/weswong/Work/unity1/unity/Editor/Mono/Inspector/InspectorWindow.cs:1245)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
Add comment