Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 2017.1.X, 2017.2.X
Votes
0
Found in
2017.3.0a3
Issue ID
937147
Regression
Yes
NullReferenceException after deleting a tagged sprite that is inside an atlas
NullReferenceException after deleting a tagged sprite that is inside an atlas
Note: might be caused by https://fogbugz.unity3d.com/f/cases/937126/
1. Edit > Project Settings > Player > Enable Sprite Packer
2. In Assets, right click > Create > Sprites > Square (or any shape)
3. Add a tag to the sprite, APPLY (you will notice IndexOutOfRange, bug 937126)
4. right click > Create > Sprite Atlas
5. Pack the sprite into the atlas, enter and exit PLAY
6. Delete the sprite
7. Enter and exit PLAY
.gif (too big to just attach)
https://drive.google.com/open?id=0B9jhe-jGsIsnOTRpQzNYMXVfUG8
Expected: No error
Observed: NullReferenceException
Occurring on: 2017.3.0a1 - a3 (current latest trunk)
Not occurring: 2017.2.0b5 and older
NullReferenceException: (null)
UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) (at C:/Work/Trunk/Unity/Editor/Mono/SerializedObject.cs:26)
UnityEditor.Editor.GetSerializedObjectInternal () (at C:/Work/Trunk/Unity/artifacts/generated/common/editor/EditorBindings.gen.cs:193)
UnityEditor.Editor.get_serializedObject () (at C:/Work/Trunk/Unity/artifacts/generated/common/editor/EditorBindings.gen.cs:185)
UnityEditor.TextureInspector.OnEnable () (at C:/Work/Trunk/Unity/Editor/Mono/Inspector/TextureInspector.cs:112)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Add comment