• Runtimes
  • Black lines when rendering spine icons using spine web player 4.0.

Black lines occur on some devices when rendering spine icons using spine web player.
Tech: Cordova iOS
SpinePlayer version: 4.0.28
Used settings:
premultipliedAlpha: false,
showControls: false,
alpha: true,
backgroundColor: "#00000000",
preserveDrawingBuffer: true,
showLoading: false,

Related Discussions
...

Could you show what the rendering artifacts look like?

Use premultiplied alpha for your assets. Without knowing the devices and their OS and browser versions, it's impossible to give better advice or identify the issue. Cordova uses the OS browser engine on iOS, so this might be a Safari iOS issue for specific Safari iOS versions.

Device name: iPhone XR, iPad Pro 5th gen
iOS version 15.3
Actual image:

Rendered image:

Hi, if Premultiplied Alpha is off at runtime, but on when you export from the Spine editor, these lines may occur. Please make sure the settings you set on export from the editor match the ones at runtime.
http://esotericsoftware.com/spine-texture-packer#Premultiply-alpha