EsotericSoftware / spine-runtimes

2D skeletal animation runtimes for Spine.
http://esotericsoftware.com/
Other
4.43k stars 2.92k forks source link

[ts] white screen in some mobiles #2613

Closed amirking59 closed 3 months ago

amirking59 commented 3 months ago

some times in mobile some of our spines rendered all white

photo_2024-08-28_03-28-10

on desktop its completly ok

badlogic commented 3 months ago

We can not possibly identify the issue given your information. Please provide more information.

amirking59 commented 3 months ago

sorry for lack of information

i use @esotericsoftware/spine-player

it happends to all low end mobiles time to time

i want to know that is it normal to happen in lower end devices? is it related to using react ? or high res spine png ? i found an article about performance of spine and it said there is limitation in canvas count but it only happens on lower end devices not all of the devices.

sorry but i cant share any spines or files thanks for your time

badlogic commented 3 months ago

On low end devices, you can only have 4 spine-players at a time. That's a limitation by the browsers. If you have more than that, low end devices will likely not be able to render things, which would explain your issue.

High-res texture atlases can also be an issue for low end devices. To stay within save limits, make sure the atlas page images are no bigger than 1024x1024.

We are working on a new component that should allow you to render any number of skeletons, each in its own web component.