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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment