Currently experiencing issues when using the Spine Skeleton Graphic shader for our UI Spine assets. Our animations use a lot of color changes to fade in and out pieces so that we can do more dynamic animations with them. It looks fine in editor but once brought into Unity the characters end up becoming darker because of it. Any thoughts?
UI Spine Characters Issue
- Editado
What color space (Linear vs Gamma) are you using in Unity?
Could you please post some screenshots that show your situation in the Spine Editor vs. in Unity?
Do you also see the same effect when using SkeletonAnimation
?
We actually figured out the issue. So everything's working properly now. When leaving the Pma Vertex colors enabled our assets tended to darken because of it when doing color changes between different slots and the Canvas Compatibility smoothed things out from there. It seems it was related to this issue - Unity ugui SkeletonGraphic添加CanvasGroup组件,改变alpha,动画的颜色和透不正常
You know, question @Harald Is the SkeletonGraphic the preferred shader for UI elements? Our project is currently using the Universal Rendering Pipeline and we now have the SkeletonGraphic set up properly. Sort of just found out about the URP shaders Spine now offers, should we be using any of those instead?
Glad to hear that you've figured it out.
Wallessrose escribióIs the SkeletonGraphic the preferred shader for UI elements? Our project is currently using the Universal Rendering Pipeline and we now have the SkeletonGraphic set up properly. Sort of just found out about the URP shaders Spine now offers, should we be using any of those instead?
UI elements shall still use the SkeletonGraphic
shaders. You can have a look at the documentation page about which URP shader is replacing which standard spine-unity shader:
spine-unity Runtime Documentation: URP Shaders Extension UPM Package