Search Issue Tracker
By Design
Votes
1
Found in
2020.3
2021.1
2021.2
2021.2.0b3
2022.1
Issue ID
1351056
Regression
No
Properties set/edited via Script are not updated when using Sprite Atlas V2
How to reproduce:
1. Open the attached project's Scene labeled "Test"
2. In the top toolbar, select "MenuTest -> Add SpriteAtlas to build - SpriteAtlas"
3. In the Project window, inspect the "V1" and "V2" assets
4. Check the "Include in Build" option
Expected result: Option is set on V1 and V2 Sprite Atlases
Actual result: Option is set only on V1 Sprite Atlas
Reproducible with: 2020.3.15f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a3
Couldn't test with: 2019.4.29f1 (Sprite Atlas V2 cannot be imported)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
Resolution Note:
For SpriteAtlas v2, users should use:
https://docs.unity3d.com/2021.2/Documentation/ScriptReference/U2D.SpriteAtlasAsset.Load.html
and
https://docs.unity3d.com/2021.2/Documentation/ScriptReference/U2D.SpriteAtlasAsset.Save.html
APIs to load and store SpriteAtlasAssets which then gets imported to SpriteAtlas by the SpriteAtlasImporter.