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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment