• Bugs
  • White Padding On Assets

Pixelated white padding occurs in the Spine-animated assets (merely using png sequence), on certain devices like Samsung Galaxy S7. So far we have ported to H5, and the problem only shows on a few devices.

Funny thing is the asset's shadow is crystal-sharp with no pixelated edge

Does anyone have any insight on this problem? Would be very grateful if you guys willing to share.

Related Discussions
...

Have never seen that before. PNG is a very simple format. How do you display the images?

It looks like aggressive compression.
Your game engine or SDK may be doing additional processing on the image assets based on the target device.
Maybe other people know your SDK better, and can give you tips.

Nate wrote

Have never seen that before. PNG is a very simple format. How do you display the images?

Yea :nod: , that's weird , right :think: ? The image sequences are used as attachments in a socket.


Pharan wrote

It looks like aggressive compression.
Your game engine or SDK may be doing additional processing on the image assets based on the target device.
Maybe other people know your SDK better, and can give you tips.

thx for the info 🙂 , we have looked into the compression setting, but found out if the engine's setting is causing this to happen, it should occur in any devices :think: .

What engine are you using?

We are using Cocos Creator.

We have found out the solution.
The culprit is the [premultiply alpha] setting itself, this setting seems occasionally on and off on certain devices.

not sure which side (Spine, Cocos or Chrome) is causing the problem.

Once it is totally off, the problem doesn't occur anymore, everything works as it should.