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 Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.