Search Issue Tracker
By Design
Votes
0
Found in
2022.3.55f1
6000.0.32f1
6000.1.0a9
Issue ID
UUM-91378
Regression
No
Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
Reproduction steps:
1. Open the attached project "ReproProj"
2. In the Project window, select the “New Sprite Atlas”
3. In Inspector, add “Assets/Flag.png“ and “Assets/WhiteUnit.png“ to the “Objects for Packing“ field
4. Click the “Pack Preview” Button
5. Observe the Console
Expected result: No Warnings exist
Actual result: Warning is present “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“
Reproducible with: 2022.3.55f1, 6000.0.32f1, 6000.1.0a9
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
As stated in the warning there is a mismatch in secondary textures between the packed atlas sprites (WhiteUnit and Flag).
This can waste texture space and potentially break draw call batching.
We advise either have the same secondary texture fields for all packed sprites or just removing the secondary texture fields if not used.