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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment