Search Issue Tracker
Active
Votes
0
Found in
2.4.1
1.21.25
Issue ID
UUM-129963
Regression
No
SBP generates duplicate textures when "Include in Build" is disabled for SpriteAtlas
Reproduction steps:
1. Open the attached project "ReproProj"
2. In the Project window, select “/Assets/SpriteAtlas/notIncludedInBuild/1_spriteAtlas.spriteatlas“
3. In Inspector, verify that “Include in Build“ is disabled
4. In the Project window, select “/Assets/SpriteAtlas/includedInBuild/2_spriteAtlas.spriteatlas“
5. In Inspector, verify that “Include in Build” is enabled
6. In the Menu bar, select “BuildBundles > Sprite And Sprite Atlas Together using BuildPipeline”
7. In the Project window, go to “/Assets/StreamingAssets/AssetBundles/BuildPipeline“
8. Right-click and select “Show in Explorer“
9. Observe that the file size of “included_in_build_sprites_and_atlases“ is 8 KB, and the file size of “not_included_in_build_sprites_and_atlases“ is 8 KB
10. In the Menu bar, select “BuildBundles > Sprite And Sprite Atlas Together using SBP”
11. In the Project window, go to “Assets/StreamingAssets/AssetBundles/SBP“
12. Right-click and select “Show in Explorer”
13. Observe the file size of “not_Included_In_Build_Sprites_And_Atlases“
Expected result: “not_Included_In_Build_Sprites_And_Atlases“ is 8 KB
Actual result: “not_Included_In_Build_Sprites_And_Atlases“ is 18 KB
Reproducible with: 1.21.25 (2022.3.62f1), 2.4.1 (6000.0.55f1)
Not Reproducible with: 2.4.1 (6000.1.16f1, 6000.2.2f1, 6000.3.0a5)
Testing environment: Windows 10 Enterprise 21H2, Windows 11
Not reproducible on: No other environment tested
Notes:
- Not reproducible with the build pipeline
- Refer to ReadMe.md in the project for additional information
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