Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.48f1
2021.3.25f1
2022.2.20f1
2023.1.0b17
2023.2.0a15
2023.3.0a3
Issue ID
UUM-35713
Regression
No
Sub-asset gets corrupted when a SpriteAtlas is stored as sub-asset
Reproduction steps:
1. Open the attached “BugRepro” project
2. Click Test > Generate Test Asset
3. In the Project View, select “/Assets/MyAsset.asset“
4. In the Project View, deselect the asset, by clicking anywhere else in the View
5. Enter the Play Mode
6. Exit the Play Mode
7. Repeat 3rd step
8. Observe the warnings in the Console window
9. Repeat 4th step
10. Enter the Play Mode
11. Observe the errors in the Console window
12. Exit the Play Mode
13. Repeat 3rd step
14. Observe the errors in the Console window
Expected result: Storing a SpriteAtlas as a sub-asset does not result in a corrupted asset
Actual result: Storing a SpriteAtlas as a sub-asset results in a corrupted asset
Reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.20f1, 2023.1.0b17, 2023.2.0a15
Reproducible on: Ubuntu 23.04, Windows 10
Note: on 2022.2.20f1, 2023.1.0b17, and 2023.2.0a15 the warnings from the 8th step are not shown
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
- Generate outline toggle is inactive in the Sprite Editor when only one sprite is selected
- The MustDisposeResource attribute is missing when using the Unity JetBrains.Annotations library subset
- [iOS] Error "RenderPass: Attachment 0 was created with 4 samples but 1 samples were requested. " is thrown when using UIToolkit and URP RenderGraph on iOS device
- The "INSTANCING_ON" shader variant is getting stripped when building the AssetBundle with the shader variant collection and the Instancing Variants set to Strip Unused
- [iOS] Building a project for iOS with 'Launch Screen' set to 'Custom Storyboard' fails if only iPhone storyboard was setup
Resolution Note:
Please note that by design SpriteAtlas should be used with existing workflow and importer. Adding it as sub-asset to another is unsupported.