在unity导入动画后,使用multiple canvas renderers出现动画闪烁情况
unity spine multiple canvas renderers打开后动画出现闪烁
在使用 Spine 的 Unity 项目中启用 "Multiple Canvas Renderers" 后出现动画闪烁的问题,可能与多个 CanvasRenderer 的设置有关。此问题在 Spine 3.8 版本的 spine-unity 运行时中已知,并在 4.0 版本中得到修复。如果您无法升级到 4.0 或更高版本,可以参考以下链接中的修复提交和补丁包来解决此问题:spine-Advanced-multiple-CanvasRenderers。
如果您使用的是 4.1 或 4.2-beta 版本,建议下载最新的 spine-unity 运行时包,因为这些版本中也发布了相关的错误修复。您可以在 spine-unity-download 页面下载最新的 Unity 包。
lvcq Spinebot's answer is correct. There was a bug where a white attachment was showing for a single frame in spine-unity 3.8 when the active number of submeshes changes. This was fixed in later versions. Do you see SkeletonSubmeshGraphic
components at each child of SkeletonGraphic
, or a RawImage
? Which exact version of the spine-unity runtime (name of the unitypackage, also listed in Assets/Spine/version.txt
) are you using?
lvcq Then you're using 3.8 with the bug. You can fix the issue by upgrading Spine and the spine-unity runtime to a newer version (4.0 or newer) to fix this issue, or manually integrate the commit mentioned in this forum posting (Spinebot already mentioned that) in your 3.8 project:
https://esotericsoftware.com/forum/d/16677-spine勾选-advanced-multiple-canvasrenderers后位移花屏/7