Search Issue Tracker

Fixed in 4.3.X

Votes

0

Found in

4.3.0b5

Issue ID

569388

Regression

No

NullreferenceException when dragging texture to assets with Sprite editor open

2D

-

1. Open Unity and open a sprite editor window
2. drag any texture from outside unity into assets

Observe error:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SpriteEditorWindow.UndoRedoPerformed () (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/SpriteEditor/SpriteEditorWindow.cs:380)
UnityEditor.Undo.Internal_CallUndoRedoPerformed () (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UndoBindings.cs:141)

Note: the error doesn't stop Unity from importing the asset

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.