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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.