paulp When the scene is opened in the editor, artifacts appear on spine objects Unity Package spinebug-unitypackage.zip296kB Spine 4.1.24 Pro Unity 2020.3.34 Windows 11 AMD Ryzen 9 7940HS w/ Radeon 780M Graphics If you switch the editor to Windows, everything is fine
Misaki paulp I couldn't find any problems as far as I checked the skeletons with the default shader Spine/Skeleton, but which shader are you actually using? I couldn't find out because the information is missing in the package. It would be great if you could attach a screenshot of the material settings.
Misaki paulp Thank you for showing us the screenshots. I tried to reproduce the problem using them as a reference, but I was unable to do so. I will email you a video showing the result of the test, so please check it out. Also, could you please create a new Unity project and see if you can reproduce the problem, and then email us that minimal project?: contact@esotericsoftware.com
Spinebot It seems like you are experiencing visual artifacts with Spine objects in Unity. Based on the provided contexts, here are a few steps you can take to resolve the issue: Update Spine-Unity Runtime: Ensure you are using the latest version of the spine-unity runtime. There have been numerous bug fixes and improvements. You can download the latest version from Spine Unity Download. Check Texture Settings: Sometimes, texture settings might not be applied correctly on import. Ensure that the default texture settings are applied. You can refer to the issue SetDefaultTextureSettings is not called on import for more details. Verify Shader Settings: If you are using custom shaders, ensure they are configured correctly. Issues with additive blending and framebuffer clearing can cause artifacts. You might want to try setting the Spine shader to straight alpha to see if it resolves the issue. Backup and Test with Latest Package: Always backup your project before making changes. Download and test with the latest spine-unity package to see if the issue persists. Send Minimal Project for Review: If the problem still persists, consider sending a minimal Unity project that reproduces the issue to [contact@esotericsoftware.com](mailto:contact@esotericsoftware.com). This will help the team to diagnose and fix the issue more effectively. Here are some relevant links and references: Spine Unity Download SetDefaultTextureSettings is not called on import Visual artifacts in Unity on all my rigs Please try these steps and let us know if the issue persists.
Harald @paulp In general please never send unitypackages as reproduction project. Instead always send a zip package of your project, containing the important directories Assets, Project Settings, Packages. Unnecessary generated directories like e.g. the Library directory shall be deleted and not included in the package of course.
Misaki paulp Thank you for sending us the minimal Unity project! I have indeed confirmed that I can reproduce the problem on a Windows PC. (I was able to reproduce this issue on both iOS and Android for the platform.) It appears that the cause is in your Universal Render Pipeline Asset settings: in the Quality section, the HDR check is turned on, but if you uncheck this, the skeletons will be displayed correctly. For more details, please wait for a response from Harald.
Harald @paulp Unfortunately for strange reasons, while Misaki could immediately reproduce the issue, I could not yet reproduce it on my machine using either Unity 2022.3.18, 2022.3.35 nor the exact submitted version 2022.3.30 with Android being set as the active build target. I will get back to you as soon as I can reproduce the issue as well (hopefully tomorrow).
Harald @paulp Unfortunately I had no luck reproducing the issue today either, neither using the Universal RP package Misaki had installed nor the original one listed in the submitted project zip file. Could you perhaps have a try whether this reproduction project also reproduces the issue on your end when updating all involved UPM packages to the latest versions of the package manager? And after that, could you have a try whether the same issue still persists with Unity 2022.3.35 and the latest packages?
Harald paulp Harald Unity 2022.3.6, latest URP, the bug is reproduced Thanks for checking, I assume you mean 2022.3.36 and not 2022.3.6. That's unfortunate then. It might be differences on how the graphics driver handles certain undefined cases perhaps. We will nonetheless perform some tests on our end to discover the cause of the issue, unfortunately it will likely take longer this way.
paulp Harald Thanks, yes 2022.3.36 This problem occurs not only in the editor, but also for some users in the game on win(ntegrated graphics.)
Harald @paulp Thanks for the info! This seems to be confirming that the issue is due to special handling of undefined behaviour. We will continue our investigations.
Harald @paulp We have just pushed a bugfix commit to the 4.2 branch which should fix this issue. EsotericSoftware/spine-runtimes2574 You could integrate the shader changes of the above commit to your 4.1 package installation. Note that the commit fixes a second files, which is an include file used by the other URP 2D shader Universal Render Pipeline/2D/Spine/Sprite. You can also find the modified file for your 4.1 URP package below: spine-skeletonlit-urp-2d.txt7kB Please let us know if this fixes the issue for you as well. Issue ticket URL for later reference: EsotericSoftware/spine-runtimes2574
paulp Harald Thank you! This is a bug fix in Android mode in the editor. But users with Intel UHD graphics still have this error
Harald @paulp Oh dear, very sorry to hear that the issue still persists on Intel UHD hardware! Could you please have a try with this modified shader version and let us know whether it resolves the issue: spine-skeletonlit-urp-2d.txt7kB
paulp Harald Thanks! Wauting answer from user with Intel graphics. Today we started porting to Playstation and got the same error in Unity Player. The latest fixes don't help
Harald @paulp That's unfortunate indeed, thanks for the feedback. We will continue our investigations.