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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Add comment