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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
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.